:root {
  --red: #d90000;
  --dark-red: #8b0000;
  --black: #060606;
  --white: #ffffff;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.site-toast {
  z-index: 3000;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 15px;
  padding: 16px 14px 16px 16px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-left: 5px solid #16a34a;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.98) 46%),
    #fff;
  color: #12141a;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(16px);
  animation: toastIn 0.32s cubic-bezier(.21, 1.02, .73, 1) both;
  overflow: hidden;
}

.site-toast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
  animation: toastTimer 4.5s linear forwards;
}

.site-toast--success::after {
  background: linear-gradient(90deg, #12a150, #20c96b);
}

.site-toast--error::after {
  background: linear-gradient(90deg, #e10000, #ff5252);
}

.site-toast--error {
  border-color: rgba(225, 0, 0, 0.2);
  border-left-color: #e10000;
  background:
    linear-gradient(135deg, rgba(255, 241, 242, 0.96), rgba(255, 255, 255, 0.98) 46%),
    #fff;
}

.site-toast__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
}

.site-toast--success .site-toast__icon {
  background: linear-gradient(180deg, #22c55e, #15803d);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.32);
}

.site-toast--error .site-toast__icon {
  background: linear-gradient(180deg, #ff2828, #b90000);
}

.site-toast__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-toast__body strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  color: #111827;
}

.site-toast__body small {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
}

.site-toast__close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.06);
    color: #545b68;
    cursor: pointer;
    opacity: 1;
    padding: 0;
    background-image: none;
}

.site-toast__close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #111;
}

.site-toast.is-hiding {
  animation: toastOut 0.24s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate3d(24px, -14px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translate3d(18px, -10px, 0) scale(0.98);
  }
}

@keyframes toastTimer {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Top contact bar */
.top-bar {
  background: var(--black);
  color: #fff;
  font-size: 13px;
}
.top-bar .top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 40px;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-contact a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.95;
}
.top-socials a {
  color: #fff;
  margin-left: 10px;
  font-size: 18px;
  opacity: 0.95;
}

/* Main navigation bar */
.main-nav {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn-outline {
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.header-actions .btn-outline:hover { background: rgba(217,0,0,0.06); }
.header-actions .btn-red {
  padding: 9px 16px;
  border-radius: 12px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 36px;
  position: relative;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: #111;
  margin: 6px 0;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 991px) {
  .top-bar .top-bar-container { padding: 6px 20px; }
  .header-container { padding: 12px 20px; }
  .nav-toggle { display: block; }
  .nav-wrapper { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 18px 20px; flex-direction: column; gap: 12px; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
  .nav-wrapper.open { display: flex; }
  .nav-menu { flex-direction: column; gap: 8px; }
  .nav-menu .nav-link { padding: 10px 0; }
  .header-actions { justify-content: flex-start; }
  .header-logo-img { height: 64px; max-width: 260px; }
}

@media (max-width: 560px) {
  .site-toast {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    gap: 10px;
    padding: 12px;
  }

  .site-toast__icon {
    width: 40px;
    height: 40px;
  }
}

.header-container {
  min-height: 100px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  margin-left: 3in;
  flex: none;
  max-width: 360px;
}

.header-logo-img {
  display: block;
  height: 96px;
  max-width: 420px;
  width: auto;
  object-fit: contain;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.etisalat-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.e-symbol {
  color: #e10000;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.9;
}

.e-text {
  color: #e10000;
  font-size: 13px;
  font-weight: 700;
}

.logo-line {
  width: 1px;
  height: 54px;
  background: #d6d6d6;
}

.bhq-logo {
  color: #111111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.bhq-logo strong {
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: 3px;
}

.bhq-logo span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

.partner-badge {
  margin-top: 4px;
  width: 160px;
  background: #050505;
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  padding: 5px 8px;
  border-radius: 0 0 4px 4px;
}

#mainNav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

#mainNav .navbar-nav,
.nav-menu {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 24px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#mainNav .nav-menu {
  margin-left: 0;
  max-width: 900px;
}

#mainNav .nav-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-menu .nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1200;
}

.nav-menu .nav-link {
  position: relative;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 16px 0;
  transition: color 0.2s ease-in-out;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link:active,
.nav-menu .nav-link.active {
  color: #e10000;
}

.nav-menu .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #e10000;
}

.nav-menu .nav-link {
  transition: color 0.2s ease-in-out;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dropdown-toggle::after {
  margin-left: 8px;
  vertical-align: middle;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
  color: #e10000;
  background: rgba(225, 0, 0, 0.08);
}

.nav-socials a {
  color: #111111;
  font-size: 24px;
  line-height: 1;
}

.nav-socials a:hover {
  color: #e10000;
}

@media (max-width: 767px) {
  .header-container {
    min-height: auto;
    padding: 14px 20px;
  }

  .header-logo {
    margin-right: 0;
  }
  .header-logo-img { height: 64px; max-width: 260px; }
  .header-logo { margin-left: 0; }
  .header-logo {
    margin-left: 14px;
  }

  .e-symbol {
    font-size: 34px;
  }

  .bhq-logo strong {
    font-size: 22px;
  }

  .partner-badge {
    width: 145px;
  }

  .nav-menu {
    align-items: flex-start;
    gap: 0;
    padding-top: 18px;
  }

  .nav-menu .nav-link {
    padding: 12px 0;
  }

  .nav-menu .nav-link.active::after {
    left: 0;
    bottom: 6px;
    transform: none;
  }

  .nav-socials {
    margin-left: 0;
    padding-top: 12px;
  }
}

.nav-socials a {
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.nav-socials a:hover {
  color: #e10000;
}


.nav-link {
  color: #111;
  font-weight: 600;
  font-size: 14px;
}

.nav-link.active,
.nav-link:hover {
  color: var(--red);
}

.social-links,
.footer-socials {
  display: flex;
  gap: 14px;
}

.social-links a,
.footer-socials a {
  color: #111;
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(120, 0, 0, 0.12) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 48%, rgba(210, 0, 0, 0.08) 49%, transparent 58%),
    linear-gradient(100deg, transparent 70%, rgba(180, 0, 0, 0.28) 70%);
  pointer-events: none;
}

/* Softer hero images for eye comfort */
.hero {
  filter: brightness(0.95) saturate(0.94);
}

/* hide arrows if present */
.hero-arrow { display: none !important; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-text {
  max-width: 430px;
  color: #eeeeee;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-weight: 700;
  padding: 12px 24px;
}

.btn-red:hover {
  background: #b90000;
  color: #fff;
}

.btn-red:active {
  background: #b90000;
  border-color: #b90000;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 42px;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 18px 34px;
  transform: skewX(-12deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-badge small,
.hero-badge strong {
  display: block;
  transform: skewX(12deg);
}

.hero-badge strong {
  color: var(--red);
  font-size: 24px;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ffffff80;
  background: #00000070;
  color: #fff;
}

.hero-arrow.left {
  left: 5%;
}

.hero-arrow.right {
  right: 5%;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #ffffff80;
}

.hero-dots button.active {
  background: #fff;
}

.section-padding {
  padding: 58px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title p {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.service-card {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 1.06fr);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Diagonal red accent divider between left and right panels */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 18px);
  width: 36px;
  background: linear-gradient(180deg, rgba(217, 0, 0, 0.98), rgba(217, 0, 0, 0.16));
  clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.14);
}

.service-card__content,
.service-card__visual {
  position: relative;
  z-index: 2;
}

.service-card__content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.service-card__content h3 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.1;
  margin: 0;
}

.service-card__content p {
  color: #575757;
  line-height: 1.85;
  max-width: 560px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-card__link:hover {
  color: #a30000;
}

.service-card__visual {
  min-height: 320px;
  overflow: hidden;
}

.service-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-size: 24px;
}

@media (max-width: 991px) {
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card::after {
    left: 50%;
    top: calc(50% - 24px);
    width: 120px;
    height: 48px;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
    transform: translateX(-50%);
  }

  .service-card__content {
    padding: 30px 26px 24px;
  }

  .service-card__visual {
    min-height: 260px;
  }
}

.about-section {
  color: #fff;
  background:
    linear-gradient(90deg, #050505 0%, #050505 43%, rgba(120, 0, 0, 0.35) 44%, rgba(120, 0, 0, 0.75) 100%),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  padding: 72px 0;
}

.about-content {
  max-width: 520px;
}

.about-content h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
}

.about-content p {
  color: #e6e6e6;
  line-height: 1.7;
}

.stats {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 16px;
  border-right: 1px solid #eee;
}

.stat-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f0;
  color: var(--red);
  font-size: 28px;
}

.stat-item strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat-item span {
  color: #333;
}

/* Simple divider used on the homepage instead of the stats list */
.home-divider {
  height: 1px;
  background: #e6e6e6;
  margin: 22px 0;
  border-radius: 2px;
}

.footer {
  background: #070707;
  color: #fff;
}

.footer .container {
  padding-top: 38px;
  padding-bottom: 34px;
}

.footer .row > div {
  padding-right: 28px;
}

.footer .row > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer p {
  color: #d0d0d0;
  margin-bottom: 8px;
}

.footer i {
  color: var(--red);
  margin-right: 10px;
}

.btn-footer {
  border: 1px solid var(--red);
  color: #fff;
  padding: 10px 22px;
}

.btn-footer:hover {
  background: var(--red);
  color: #fff;
}

.footer-socials a {
  color: #fff;
}

.copyright {
  text-align: center;
  background: var(--dark-red);
  padding: 12px;
  font-size: 14px;
}

@media (max-width: 991px) {
  .brand small {
    display: none;
  }

  .hero-badge {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 190px;
    clip-path: none;
  }

  .about-section {
    background:
      linear-gradient(rgba(0, 0, 0, 0.88), rgba(60, 0, 0, 0.88)),
      url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 991px) {
  #mainNav.nav-wrapper {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }

  #mainNav.nav-wrapper.open {
    display: flex;
  }

  #mainNav .nav-menu {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
