/* Gulf Business Services – shared styles */
:root{
  --primary-color:#E30613;   /* GBS red */
  --secondary-color:#00A5E5; /* GBS blue */
  --dark-color:#111827;
  --light-bg:#f7f7f7;

  --muted:#64748b;
  --card-radius:14px;
  --shadow-soft:0 10px 24px rgba(0,0,0,.10);
  --shadow-hover:0 16px 36px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--dark-color);
}

/* Navbar */
.navbar { box-shadow: 0 6px 14px rgba(0,0,0,.06); background:#fff; }
.navbar-brand img { height: 34px; width: auto; }
.brand-text {
  font-weight: 800; letter-spacing: .5px; margin-left:.35rem;
  color: var(--secondary-color); /* Brand blue for the text */
}
.nav-link { font-weight:600; }
@media (max-width: 575.98px){
  .navbar-brand img { height: 28px; }
  .brand-text { font-size: .95rem; }
}
.btn-quote { border-radius: 999px; padding:.5rem 1rem; font-weight:700; }

/* Hero */
#hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  align-items: center;
  padding-top: 88px; /* space under fixed navbar */
  color: #fff;
  background-image:
    linear-gradient(135deg, rgba(227,6,19,.85), rgba(0,165,229,.85)),
    url("image1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero { padding-bottom: 60px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background: rgba(255,255,255,.12);
  border-radius:999px; padding:.4rem .9rem;
  font-size:.75rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
}
.hero-title { font-weight:800; line-height:1.1; }
.hero-lead { max-width: 600px; font-size: 1.05rem; opacity: .95; }
.hero-cta .btn { border-radius:999px; padding:.75rem 1.15rem; font-weight:700; }

/* Hero solution tiles */
.hero-tiles {
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:.85rem;
  max-width: 540px; margin-inline: auto;
}
.hero-tile {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:.9rem;
  min-height:108px; padding:1.25rem; border-radius:1rem;
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(6px);
  color:#fff; font-weight:700; font-size:.95rem; text-decoration:none;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-tile i { font-size:1.6rem; }
.hero-tile:hover, .hero-tile:focus-visible {
  background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.45);
  color:#fff; transform: translateY(-3px);
}
.hero-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 767.98px){
  #hero { text-align:center; }
  .hero-cta { flex-direction:column; }
}
@media (max-width: 575.98px){
  .hero-tile { min-height:92px; padding:1rem; font-size:.85rem; }
}
.btn-primary { background: var(--primary-color); border-color: var(--primary-color); }
.btn-primary:hover { background:#b90512; border-color:#b90512; }
.btn-outline-light { border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

.img-soft { border-radius:16px; box-shadow: var(--shadow-soft); }
.shadow-soft { box-shadow: var(--shadow-soft); }

/* Sections */
section { scroll-margin-top: 96px; }
.section-label {
  display:inline-block;
  font-size:.78rem; letter-spacing:.12rem; text-transform:uppercase;
  font-weight:800; color: var(--primary-color);
}
.section-heading { font-weight:800; }
.text-muted { color: var(--muted)!important; }

/* Feature cards (Solutions) */
.feature-card {
  border: 1px solid #e9eef5;
  border-top: 4px solid var(--secondary-color);
  border-radius: var(--card-radius);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-soft);
  height:100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-color);
}
.icon-circle {
  width: 54px; height: 54px; border-radius: 50%;
  display:grid; place-items:center;
  color:#fff; background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  flex:0 0 54px;
}

/* About highlights */
.about-highlight {
  display:flex; align-items:flex-start; gap:1rem;
  padding:1.25rem; border-radius:.75rem;
  background:#fff; box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.highlight-icon {
  width:3rem; height:3rem; border-radius:50%; flex-shrink:0;
  display:inline-flex; align-items:center; justify-content:center;
  background:#fef2f2; color: var(--primary-color); font-size:1.3rem;
}
.highlight-icon.blue { background:#e0f2ff; color: var(--secondary-color); }

/* Presence (icons kept here) */
.presence-list i { color: var(--secondary-color); }

/* Contact */
.contact-box {
  border:1px dashed #cfd8e3; border-radius:12px; padding:1rem;
  background:#fff;
}
.form-control, .form-select { border-radius: 10px; }

/* Light section background */
.bg-light-alt { background: var(--light-bg); }

/* Enquiry shadow wrapper */
.enquiry-shadow{
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  padding: 24px;
}
@media (min-width: 992px){
  .enquiry-shadow{ padding: 36px; }
}

/* Fade-up animation (only when JS is running, so content is never hidden without it) */
.js .fade-up { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .fade-up.show { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .js .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Enquiry form spam trap (kept off-screen, not display:none, so bots still fill it) */
.hp-field { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.form-status:empty { display:none; }

/* Footer */
.site-footer { background:#0b1120; color:#9ca3af; padding:56px 0 0; font-size:.9rem; }
.site-footer a { color:#d1d5db; text-decoration:none; }
.site-footer a:hover, .site-footer a:focus { color:#fff; text-decoration:underline; }
.footer-brand { display:inline-flex; align-items:center; gap:.75rem; font-weight:700; color:#fff !important; text-decoration:none !important; }
.footer-brand img { height:40px; width:auto; }
.footer-heading { color:#fff; font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1rem; }
.footer-links, .footer-contact { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:.55rem; }
.footer-contact li { display:flex; gap:.65rem; margin-bottom:.8rem; overflow-wrap:anywhere; }
.footer-contact i { color: var(--primary-color); margin-top:.25rem; width:16px; text-align:center; }
.footer-bottom { margin-top:40px; padding:18px 0; border-top:1px solid rgba(255,255,255,.08); font-size:.8rem; text-align:center; }

/* Solutions dropdown */
.navbar .dropdown-menu {
  border: 0; border-radius: 12px; padding: .5rem;
  box-shadow: var(--shadow-hover);
  min-width: 290px;
}
.navbar .dropdown-item {
  border-radius: 8px; padding: .55rem .75rem; font-weight: 500;
  display: flex; align-items: center; gap: .65rem;
}
.navbar .dropdown-item i { width: 18px; text-align: center; color: var(--secondary-color); }
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus { background: var(--light-bg); color: var(--primary-color); }
.navbar .dropdown-item.active, .navbar .dropdown-item:active { background: var(--primary-color); color: #fff; }
.navbar .dropdown-item.active i, .navbar .dropdown-item:active i { color: #fff; }
.nav-link.active-section { color: var(--primary-color) !important; }

/* Solution card link (homepage) */
.feature-link { font-weight: 700; color: var(--primary-color); text-decoration: none; }
.feature-link:hover { color: #b90512; }
.feature-link i { transition: transform .2s ease; }
.feature-link:hover i { transform: translateX(3px); }

/* Solution page banner */
.page-hero {
  padding: 140px 0 70px;
  color: #fff;
  background: linear-gradient(135deg, rgba(227,6,19,.92), rgba(0,165,229,.92));
}
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-hero .lead { max-width: 60ch; opacity: .95; }
.page-hero .btn { border-radius: 999px; padding: .75rem 1.15rem; font-weight: 700; }
.hero-icon {
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; font-size: 4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  margin-left: auto;
}

/* Solution page content */
.benefit-card { border-radius: var(--card-radius); background: #fff; box-shadow: var(--shadow-soft); }
.benefit-list li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.benefit-list li:last-child { margin-bottom: 0; }
.benefit-list i { color: var(--primary-color); margin-top: .3rem; }
.step-card {
  position: relative; height: 100%;
  border-radius: var(--card-radius); background: #fff; box-shadow: var(--shadow-soft);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--primary-color);
}
.sector-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 999px;
  background: #fff; border: 1px solid #e2e8f0; font-weight: 500;
}
.sector-chip i { color: var(--secondary-color); }
.cta-band {
  border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.cta-band .btn { border-radius: 999px; padding: .75rem 1.15rem; font-weight: 700; }
.other-card {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  padding: 1rem 1.15rem; border-radius: 12px; background: #fff;
  border: 1px solid #e9eef5; color: var(--dark-color); text-decoration: none; font-weight: 600;
  transition: box-shadow .2s ease, transform .2s ease;
}
.other-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--primary-color); }
.other-card .icon-circle { width: 44px; height: 44px; flex-basis: 44px; }

/* ---------------------------------------------------------------
   Type scale – sizes grow smoothly from phone to desktop
   (min on small phones → max on large screens)
   --------------------------------------------------------------- */
body { font-size: clamp(.9rem, .86rem + .2vw, 1rem); }

#hero .hero-title { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.75rem); }          /* 26px → 44px */
.page-hero .hero-title { font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.4rem); }      /* 24px → 38px */
.section-heading.h1 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem); }           /* 22px → 32px */
.section-heading.h4 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.hero-lead, .page-hero .lead { font-size: clamp(.95rem, .9rem + .25vw, 1.05rem); }
.feature-card h5, .step-card h5, .benefit-card h5, .card-body h5 { font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }
.cta-band h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); }
.btn, .nav-link, .dropdown-item { font-size: clamp(.875rem, .85rem + .1vw, .95rem); }

@media (max-width: 575.98px){
  .hero-badge { font-size: .65rem; letter-spacing: .1em; padding: .35rem .75rem; }
  #hero { min-height: auto; padding-top: 100px; padding-bottom: 48px; }
  .page-hero { padding: 104px 0 48px; }
  .hero-cta .btn, .page-hero .btn, .cta-band .btn { padding: .65rem 1rem; }
  .enquiry-shadow { padding: 18px; }
  .feature-card.p-4, .step-card.p-4, .benefit-card.p-4 { padding: 1.25rem !important; }
}
