/*
 * Global styles for the EDM Solutions website. The palette is designed
 * to evoke trust and professionalism while remaining modern and
 * approachable. Adjust the CSS variables below to tweak the look
 * and feel across the entire site.
 */

:root {
  --primary-color: #003366;    /* Deep navy for headers and navigation */
  --secondary-color: #005b99;  /* Medium blue for accents and links */
  --accent-color: #ffa500;     /* Warm orange for call‑to‑action buttons */
  --text-color: #333333;       /* Dark grey for body copy */
  --background-color: #ffffff; /* White background for clarity */
  --light-gray: #f5f7fa;       /* Very light gray for section backgrounds */
}

/* Reset some default styles to ensure consistency across browsers */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Base typography */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.section {
  padding: 60px 0;
}

.section--light {
  background-color: var(--light-gray);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e38d00;
}

/* Secondary button used when two calls to action are displayed together */
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--accent-color);
  text-decoration: none;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: #ffffff;
}

/* App section styles */
.app-screenshot {
  max-width: 350px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Container for app download buttons */
.app-downloads {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Base styling for app download links */
.app-download {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.3s ease;
}
.app-download:hover {
  opacity: 0.9;
}

/* Specific colors for store badges */
.app-store {
  background-color: #0070c9; /* Apple App Store blue */
}

.google-play {
  background-color: #34a853; /* Google Play green */
}

/* Checklist styling for feature lists */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Navigation */
header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo and branding */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-color);
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  height: 60vh;
  text-align: center;
  padding: 40px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Cards for services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Form styles */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  resize: vertical;
}

.form-group textarea {
  min-height: 120px;
}

.submit-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
}