/* TOUMA Insurance Consultants — starter stylesheet
   Swap the CSS variables below once real brand colors/fonts are confirmed. */

:root {
  --color-primary: #0A2D80;   /* navy, sampled from the TOUMA logo wordmark */
  --color-secondary: #0088A8; /* teal, sampled from the logo's umbrella gradient */
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --color-muted: #6b7280;
  --font-en: "Segoe UI", system-ui, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", sans-serif; /* Tajawal is a free, readable Arabic web font */
  --max-width: 1100px;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-en);
  line-height: 1.6;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

header, main, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

html[dir="rtl"] nav ul {
  flex-direction: row-reverse;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  margin-top: 1rem;
}

.cta-button:hover { opacity: 0.9; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
  color: var(--color-muted);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

form {
  display: grid;
  gap: 1rem;
  max-width: 480px;
}

label { font-weight: 600; }

input, select, textarea {
  padding: 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

footer {
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
  header { flex-direction: column; gap: 0.75rem; }
  nav ul { flex-wrap: wrap; justify-content: center; }
}
