/* Al-Hamra website updates - added by alhamra_update.py */
:root { --ah-navy: #1b2a5c; --ah-red: #c8102e; }

/* WhatsApp button (home page) */
.ah-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s;
}
.ah-whatsapp:hover { transform: scale(1.08); }
.ah-whatsapp svg { width: 32px; height: 32px; fill: #fff; }

/* Page banner used on new pages */
.ah-banner { background: var(--ah-navy); color: #fff; text-align: center; padding: 40px 15px; }
.ah-banner h1 { margin: 0; font-size: 32px; letter-spacing: 1px; color: #fff; }

/* Section headings with red line + diamond */
.ah-section { max-width: 1100px; margin: 0 auto; padding: 50px 20px; }
.ah-heading { text-align: center; margin-bottom: 40px; }
.ah-heading h2 { font-size: 24px; font-weight: 700; color: #333; margin: 0 0 12px; text-transform: uppercase; }
.ah-heading .ah-line { display: inline-flex; align-items: center; gap: 8px; }
.ah-heading .ah-line span { width: 90px; height: 2px; background: var(--ah-red); }
.ah-heading .ah-line i { width: 10px; height: 10px; background: var(--ah-red); transform: rotate(45deg); }

/* Our Services */
.ah-service {
  display: flex; align-items: center; gap: 40px;
  padding: 35px 0; border-bottom: 1px solid #e3e6ef; scroll-margin-top: 100px;
}
.ah-service:last-child { border-bottom: 0; }
.ah-service.ah-reverse { flex-direction: row-reverse; }
.ah-service img { flex: 0 0 280px; width: 280px; max-width: 100%; height: auto; border: 3px solid #ed3237; display: block; }
.ah-service-text h3 { color: var(--ah-navy); font-size: 22px; margin: 0 0 8px; }
.ah-service-text h3::after { content: ""; display: block; width: 45px; height: 2px; background: var(--ah-red); margin-top: 8px; }
.ah-service-text p { color: #444; line-height: 1.7; margin: 10px 0 0; }
@media (max-width: 700px) {
  .ah-service, .ah-service.ah-reverse { flex-direction: column; text-align: center; }
  .ah-service-text h3::after { margin-left: auto; margin-right: auto; }
}

/* About text */
.ah-about h2 { color: var(--ah-navy); font-size: 26px; margin: 0 0 18px; }
.ah-about p { color: #444; line-height: 1.8; margin: 0 0 14px; }

/* Organization chart */
.ah-org { display: flex; flex-direction: column; align-items: center; }
.ah-org-box {
  background: #fff; color: var(--ah-navy);
  border: 1px solid var(--ah-navy); border-top: 5px solid var(--ah-red);
  border-radius: 6px; padding: 14px 28px; width: 360px; max-width: 100%; text-align: center;
  box-shadow: 0 4px 12px rgba(27,42,92,.10);
}
.ah-org-box strong { display: block; font-size: 18px; color: var(--ah-navy); }
.ah-org-box span { display: block; font-size: 14px; color: var(--ah-red); margin-top: 4px; }
.ah-org-box:first-child { background: var(--ah-navy); border: 1px solid var(--ah-navy); }
.ah-org-box:first-child strong { color: #fff; }
.ah-org-box:first-child span { color: #dfe3ef; }
.ah-org-line { width: 2px; height: 28px; background: var(--ah-navy); }

/* Our Clients - new logo grid (6 in a row) */
.ah-clients-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 30px;
}
.ah-client {
  background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center; padding: 18px; aspect-ratio: 3 / 2;
}
.ah-client img { max-width: 100%; max-height: 70px; object-fit: contain; }
@media (max-width: 900px) { .ah-clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .ah-clients-grid { grid-template-columns: repeat(2, 1fr); } }
