html, body {
  width: 100%;
  overflow-x: hidden;
}

body[class^="bg-"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5); /* dark overlay at 50% opacity */
  z-index: -1; 
}


/*──────────────────────────────────────────────────────────────────────────*/
/* VARIABLES & GLOBALS                                                     */
/*──────────────────────────────────────────────────────────────────────────*/
:root {
  --topbar-bg:   #050505;  /* dark navy top bar */
  --header-bg:   #ffffff;  /* white header */
  --page-bg:     #f8f9fa;  /* light grey page */
  --text:        #1d1d1f;  /* dark text */
  --accent:      #e9eff1;  /* bright cyan accent */
  --footer-bg:   #172a4f;  /* dark navy footer */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
   background: url("../images/backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}
/*
body.dark {
  background: #121212;
  color: #eee;
}
*/

/*──────────────────────────────────────────────────────────────────────────*/
/* TOP BAR                                                                 */
/*──────────────────────────────────────────────────────────────────────────*/
.topbar {
 background: url("../images/backgroundimg.png") no-repeat center center;
  background-size: cover;
  color: #080808;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
}
.topbar .contact-info {
  margin-right: auto;
}
.topbar .btn-assess {
  background: var(--accent);
  color: #0a06f5;
  padding: 0.3rem 0.8rem;
  border: none;
  border-radius: 3px;
  text-decoration: none;
}



/*──────────────────────────────────────────────────────────────────────────*/
/* HEADER & NAV                                                           */
/*──────────────────────────────────────────────────────────────────────────*/
header {
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .logo img {
  height: 40px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.header-ctas {
  display: flex;
  align-items: center;
}
.header-ctas .btn-quote {
  background: var(--header-bg);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-right: 1rem;
  cursor: pointer;
}
.header-ctas .toggle-mode {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}



/*──────────────────────────────────────────────────────────────────────────*/
/* HERO                                                                    */
/*──────────────────────────────────────────────────────────────────────────*/
.hero {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;

  /* REMOVE any background-color or solid-color lines here */
  /* background: #000; */

  /* ADD your image */
  background: url("../images/backgroundimg.png") no-repeat center center;
  background-size: cover;

  color: #fff;
  text-align: center;
}

/* leave .hero-accent as-is if you still want the blue stripe on top */
.hero-accent {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;

  /* ← Replace solid color with your image: */
  background: url("../images/backgroundimg.png") no-repeat center center;
  background-size: cover;

  transform: skewY(-5deg);
  transform-origin: top left;
  z-index: 1;
}

/* make sure your content sits above the stripe */
.hero-logo,
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-logo img {
  height: 120px;
  object-fit: contain;
  margin-right: 2rem;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1.2rem;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* SERVICES GRID                                                          */
/*──────────────────────────────────────────────────────────────────────────*/
.services {
  padding: 3rem 2rem;
  background: var(--page-bg);  /* your page background */
  text-align: center;
}

.services h2 {
  margin-bottom: 2rem;
}

/* make the grid flexible */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* the magic: slanted, pill-like panels */
.service-card {
  background: #000;         /* or any accent color you like */
  color: #fff;
  padding: 2rem 1.5rem;
  width: 260px;
  /* clip a hex-like shape: slanted top & bottom edges */
  clip-path: polygon(
    10% 0%,   /* move in from top-left */
    100% 0%,  /* top-right corner */
    100% 90%, /* down to near bottom-right */
    90% 100%, /* slanted bottom-right */
    0% 100%,  /* bottom-left */
    0% 10%    /* slanted up to top-left */
  );
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* tweak the heading and text inside */
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}


/*──────────────────────────────────────────────────────────────────────────*/
/* PROCESS                                                                 */
/*──────────────────────────────────────────────────────────────────────────*/
.process {
  padding: 3rem 2rem;
  color: #f5f5f5;              /* make all text here a soft white */
}

.process h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #ffffff;              /* ensure your heading is pure white */
}

.process ol {
  max-width: 800px;
  margin: 0 auto;
  list-style: decimal inside;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.process ol li {
  color: inherit;              /* list items pick up .process color */
}

@media (min-width: 600px) {
  .process ol {
    grid-template-columns: repeat(2,1fr);
  }
}

/*──────────────────────────────────────────────────────────────────────────*/
/* TESTIMONIALS                                                            */
/*──────────────────────────────────────────────────────────────────────────*/
.testimonials {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 1.5rem;
}
.testimonial-slide {
  display: inline-block;
  padding: 1rem 2rem;
  max-width: 600px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* PARTNERS                                                                */
/*──────────────────────────────────────────────────────────────────────────*/
.partners {
  padding: 3rem 2rem;
  background: var(--page-bg);
  text-align: center;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.partners-grid img {
  height: 50px;
  filter: grayscale(80%);
}

/*──────────────────────────────────────────────────────────────────────────*/
/* CONTACT FORM                                                            */
/*──────────────────────────────────────────────────────────────────────────*/
.contact {
  padding: 3rem 2rem;
}
.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* FOOTER                                                                  */
/*──────────────────────────────────────────────────────────────────────────*/
footer {
  padding: 2rem;
  background: var(--footer-bg);
  color: #fff;
  text-align: center;
}
footer nav a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
}

/* ─── Process Intro ────────────────────────────────────────────────────── */
.process-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

/* ─── Process Grid ─────────────────────────────────────────────────────── */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* ─── Each Step ───────────────────────────────────────────────────────── */
.process-step {
  display: flex;              /* ← add this */
  flex-direction: column;     /* ← and this */
  align-items: center;        /* ← and this */
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 2rem 1rem 1rem;
  width: 260px;
  text-align: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

/* Step badge: circle with number + icon */
/* Make each step a centered column */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;    /* centers badge and text */
  text-align: center;     /* center the headlines and paragraphs */
}

/* Center the badge within the step */
.step-badge {
  width: 100px;
  height: 100px;
  border: 4px solid;
  border-radius: 50%;
  position: relative;
  overflow: visible;    /* allows the number to overflow */
}

/* fill the badge, but clip the image to a circle */
.step-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;   /* **this** makes the image circular */
}

/* Layer the number on top, centered in the circle */
.step-number {
  position: absolute;
  top: -1.8em;        /* move it above the top edge of the circle */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.2rem;
  font-weight: bold;
  /* color is handled by your accent-… rules already */
  pointer-events: none;
}

/* Step title & description */
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Accent colors for each step */
.accent-blue   .step-badge { border-color: #00adee; }
.accent-gold   .step-badge { border-color: #ffc107; }
.accent-green  .step-badge { border-color: #28a745; }
.accent-red    .step-badge { border-color: #dc3545; }
/* Make the step number match its ring color */
.accent-blue   .step-number { color: #00adee; }
.accent-gold   .step-number { color: #ffc107; }
.accent-green  .step-number { color: #28a745; }
.accent-red    .step-number { color: #dc3545; }


/* Optional: add a subtle arrow between each step */
.process-step:not(:last-child)::after {
  content: "➔";
  position: absolute;
  top: 50%;
  right: -1.8rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  transform: translateY(-50%);
}

/* ─── Unique Reasons Section ───────────────────────────────────────────── */
.reasons-unique {
  padding: 4rem 2rem;
  background: #f5f7fa;
  text-align: center;
}

.reasons-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.reasons-header p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(29,29,31,0.7);
  font-size: 1rem;
}

/* grid of three hexes */
.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

/* base hexagon card */
.reason-hex {
  position: relative;
  width: 220px;
  height: 254px; /* allows for hex shape aspect */
  clip-path: polygon(
    25% 0%, 75% 0%, 100% 50%,  
    75% 100%, 25% 100%, 0% 50%
  );
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.reason-hex:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* icon circle inside the hex */
.reason-icon {
  background: #fff;
  border: 4px solid;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;  /* pull half the icon above hex top */
  margin-bottom: 1rem;
  z-index: 1;
}
.reason-icon img {
  width: 40px;
  height: 40px;
}

/* colored borders per hex */
.reason-hex--blue    .reason-icon { border-color: #00adee; }
.reason-hex--orange  .reason-icon { border-color: #ff9f1c; }
.reason-hex--green   .reason-icon { border-color: #2ecc71; }

/* Larger hexagons with a bluish 3D gradient */
.reason-hex {
  width: 260px;       /* increased size */
  height: 320px;
  clip-path: polygon(
    25% 0%, 75% 0%, 100% 50%,  
    75% 100%, 25% 100%, 0% 50%
  );
  background: linear-gradient(145deg, #3b5a99, #1e2e56);
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.7),
   -2px -2px 8px rgba(255,255,255,0.05),
    inset 2px 2px 4px rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.reason-hex:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    8px 8px 18px rgba(0,0,0,0.8),
   -2px -2px 10px rgba(255,255,255,0.08),
    inset 2px 2px 6px rgba(255,255,255,0.08);
}

/* Icon circle */
.reason-icon {
  width: 90px;
  height: 90px;
  border: 4px solid;
  border-radius: 50%;
  overflow: hidden;
  margin-top: -45px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.reason-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text contrast */
.reason-hex h3,
.reason-hex p {
  color: #f0f0f5;
}

/* Accent-color border rings */
.reason-hex--blue   .reason-icon { border-color: #00adee; }
.reason-hex--orange .reason-icon { border-color: #ff9f1c; }
.reason-hex--green  .reason-icon { border-color: #2ecc71; }


/* responsiveness */
@media (max-width: 700px) {
  .reasons-grid {
    flex-direction: column;
    align-items: center;
  }
}



/* ─── Unique Industry Icons Grid ───────────────────────────────────────── */
.industries-unique {
  padding: 4rem 2rem;
  background: var(--page-bg);
  text-align: center;
}
.industries-unique h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.industries-unique .intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: rgba(29,29,31,0.7);
}

/* flex wrap grid */
.industries-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* icon card base */
.icon-card {
  width: 140px;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s, box-shadow .3s;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.icon-card h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--text);
}

/* circular icon wrapper */
.icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* accent colors */
.card-blue   .icon-wrap { background: #00adee; }
.card-green  .icon-wrap { background: #28a745; }
.card-gold   .icon-wrap { background: #ffc107; }
.card-teal   .icon-wrap { background: #20c997; }
.card-pink   .icon-wrap { background: #e83e8c; }
.card-purple .icon-wrap { background: #6f42c1; }
.card-orange .icon-wrap { background: #fd7e14; }
.card-cyan   .icon-wrap { background: #17a2b8; }
.card-red    .icon-wrap { background: #dc3545; }
.card-rose   .icon-wrap { background: #ff69b4; }
.card-indigo .icon-wrap { background: #6610f2; }

/* responsiveness */
@media (max-width: 600px) {
  .icon-card { width: 120px; padding: 1.2rem 0.8rem; }
  .icon-wrap { width: 50px; height: 50px; font-size: 1.2rem; }
}


/* ─── Let’s Talk Section ───────────────────────────────────────────────── */
.lets-talk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #00254a, #004b80);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 12px;
  margin: 4rem 2rem;
  flex-wrap: wrap;
}

.talk-info {
  flex: 1 1 300px;
  max-width: 45%;
}
.talk-info h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.talk-info p {
  font-size: 1.1rem;
  line-height: 1.4;
}

/* form card */
.talk-form {
  flex: 1 1 300px;
  max-width: 45%;
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.talk-form .field-group {
  margin-bottom: 1rem;
}
.talk-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.talk-form input,
.talk-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}
.talk-form .btn-submit {
  width: 100%;
  background: #004b80;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.talk-form .btn-submit:hover {
  background: #003764;
}

/* Responsive */
@media (max-width: 800px) {
  .lets-talk {
    flex-direction: column;
    text-align: center;
  }
  .talk-info, .talk-form {
    max-width: 100%;
    margin: 1rem 0;
  }
}


/* ─── Our Offices Section ───────────────────────────────────────────────── */
.offices {
  padding: 4rem 2rem;
  background: var(--page-bg);
  text-align: center;
}
.offices h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.offices-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  color: rgba(29,29,31,0.8);
  font-size: 1rem;
}

/* two-column layout */
.offices-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Left column: form styling */
.office-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  flex: 1 1 320px;
  max-width: 480px;
  text-align: left;
}
.office-form h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}
.office-form p {
  margin-bottom: 1rem;
  color: rgba(29,29,31,0.7);
  font-size: 0.9rem;
}
.office-form input,
.office-form select,
.office-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}
.office-form .phone-email {
  display: flex;
  gap: 1rem;
}
.office-form .phone-group {
  display: flex;
  gap: 0.5rem;
  flex: 1;
}
.office-form button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}
.office-form .nda-note {
  font-size: 0.75rem;
  color: rgba(29,29,31,0.6);
  margin-top: 0.5rem;
}

/* Right column: office list styling */
.office-list {
  background: var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 2rem;
  flex: 1 1 280px;
  max-width: 360px;
  color: #fff;
}
.office-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.office-item:last-child { margin-bottom: 0; }
.office-item img {
  width: 32px;
  height: 24px;
  object-fit: cover;
  flex-shrink: 0;
}
.office-item strong {
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}
.office-item .tel {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .offices-grid {
    flex-direction: column;
    align-items: center;
  }
  .office-list {
    border-radius: 12px;
    max-width: none;
    width: 100%;
  }
}

/* ─── Industry Showcase Gallery ─────────────────────────────────────────── */
.industry-gallery {
  padding: 3rem 2rem;
  background: var(--page-bg);
  text-align: center;
}
.industry-gallery h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* three‐column image row */
.gallery-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-item {
  flex: 1 1 30%;
  max-width: 30%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* responsive: stack on narrow screens */
@media (max-width: 800px) {
  .gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/*──────────────────────────────────────────────────────────────────────────*/
/* Center and restyle the Industry Detail section                         */
/*──────────────────────────────────────────────────────────────────────────*/
.industry-detail .container {
  text-align: center;
  color: #f5f4f4;            /* make all text white */
}

.industry-detail .container ul {
  display: inline-block;  /* shrink-wrap the list so it can center */
  margin: 1rem auto;      /* vertical spacing + auto-center */
  padding: 0;
  list-style-position: inside;
}

.industry-detail .container ul li {
  margin: 0.5rem 0;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* Center & recolor the Contact-CTA heading                                 */
/*──────────────────────────────────────────────────────────────────────────*/
.contact-cta {
  text-align: center;  /* center everything in the CTA */
}

.contact-cta h2 {
  color: #ffffff;      /* make the heading pure white */
  margin-bottom: 1rem; /* optional spacing */
}

/*──────────────────────────────────────────────────────────────────────────*/
/* Style & center the Get a Free Consultation button                       */
/*──────────────────────────────────────────────────────────────────────────*/
.contact-cta .container {
  text-align: center;    /* center everything inside the CTA */
}

.contact-cta button {
  display: inline-block; /* required so margin:auto & text-align:center work */
  position: relative;
  top: -7px; /* pull it up a bit to align with the heading */
  margin-top: 1rem;
  background: #e63946;   /* bright red */
  color: #fff;
  font-size: 1.25rem;    /* bigger text */
  padding: 0.75rem 2rem; /* more clickable area */
  border: none;
  border-radius: 6px;
  box-shadow:
    0 6px 0 #a02834,    /* solid “base” shadow for the 3D look */
    0 6px 12px rgba(0,0,0,0.2); /* soft drop‐shadow */
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}

.contact-cta button:hover {
  transform: translateY(-2px);  
  box-shadow:
    0 8px 0 #a02834,
    0 8px 16px rgba(0,0,0,0.25);
}

/*──────────────────────────────────────────────────────────────────────────*/
/* Industry page backgrounds                                              */
/*──────────────────────────────────────────────────────────────────────────*/
body[class^="bg-"] {
  /* fallback color if image fails */
  background-color: var(--page-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Real Estate */
body.bg-real-estate {
  background-image: url("../images/realestate-bg.jpg");
}

/* Healthcare */
body.bg-healthcare {
  background-image: url("../images/healthcare-bg.jpg");
}

/* Education */
body.bg-education {
  background-image: url("../images/education-bg.jpg");
}

/* Logistics */
body.bg-logistics {
  background-image: url("../images/logistics-bg.jpg");
}

/* Sports */
body.bg-sports {
  background-image: url("../images/sports-bg.jpg");
}

/* Fintech */
body.bg-fintech {
  background-image: url("../images/fintech-bg.jpg");
}

/* Entertainment */
body.bg-entertainment {
  background-image: url("../images/entertainment-bg.jpg");
}

/* Travel */
body.bg-travel {
  background-image: url("../images/travel-bg.jpg");
}

/* Oil & Gas */
body.bg-oilgas {
  background-image: url("../images/oilgas-bg.jpg");
}

/* Dating */
body.bg-dating {
  background-image: url("../images/dating-bg.jpg");
}

/* Food Delivery */
body.bg-food {
  background-image: url("../images/food-bg.jpg");
}

/* Fitness */
body.bg-fitness {
  background-image: url("../images/fitness-bg.jpg");
}


/*──────────────────────────────────────────────────────────────────────────*/
/* Emphasize the “What We Do” text on busy backgrounds                    */
/*──────────────────────────────────────────────────────────────────────────*/
.industry-detail .container h2,
.industry-detail .container ul li {
  font-weight: 700;               /* make headings & bullets bold */
  color: #fff;                    /* ensure pure white text */
  text-shadow:                    /* dark blur behind each character */
    0 1px 2px rgba(0,0,0,0.8),
    0 2px 4px rgba(0,0,0,0.6);
}

/* if you want the sub-bullet (“Data security…”) slightly lighter: */
.industry-detail .container ul li li {
  font-weight: 600;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.8);
}

/* remove underlines and hide any empty link text */
.icon-card {
  text-decoration: none;
  color: inherit;
}
.icon-card::after,
.icon-card::before {
  content: none !important;
}

/* ─── Card Image + Rounded Card Styling ───────────────────────────────── */
.icon-card {
  display: flex;
  flex-direction: column;      /* stack image + title */
  align-items: stretch;
  background: #fff;
  border-radius: 12px;         /* round the whole card */
  overflow: hidden;            /* clip children to the rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
}

/* full‐width image on top */
.card-img {
  width: 100%;
  height: 0;
  padding-top: 56.25%;         /* 16:9 aspect ratio—you can adjust */
  position: relative;
  overflow: hidden;
}

/* fill the .card-img container */
.card-img img {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* caption styling */
.icon-card h3 {
  margin: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

/* ─── Rectangular Card Images ─────────────────────────────────────────── */
.card-img {
  width: 100%;
  padding-top: 66.66%;        /* 3:2 aspect ratio rectangle */
  position: relative;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* Make the icon-cards (industries grid) plain rectangles with rounded corners */
/*──────────────────────────────────────────────────────────────────────────*/
.industries-icons .icon-card {
  clip-path: none !important;   /* kill any previous hex/pill shapes */
  border-radius: 12px;          /* smooth rounded corners */
  overflow: hidden;             /* keep any child elements clipped */
}

/* if you’re using .card-img inside them, ensure it fills the top: */
.industries-icons .icon-card .card-img {
  padding-top: 56.25%;          /* 16:9 rectangle */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ─── Upsize Industry Cards to 16:9 Rectangle ──────────────────────────── */
.industries-icons .icon-card {
  width: 300px;          /* wider cards */
  margin: 1rem;          /* some breathing room */
  border-radius: 12px;   /* keep those nice rounded corners */
  overflow: hidden;
}

.industries-icons .icon-card .card-img {
  padding-top: 56.25%;   /* 16:9 aspect ratio (9/16 = 0.5625) */
  position: relative;
  overflow: hidden;
}

.industries-icons .icon-card .card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Three‐per‐row Industry Grid ───────────────────────────────────────── */
.industries-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .industries-icons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .industries-icons {
    grid-template-columns: 1fr;
  }
}

/* ─── Header tweaks ─────────────────────────────────────────────────────── */

/* 1) Enlarge the logo */
header .logo img {
  height: 60px;            /* bump this up or down to taste */
  width: auto;             /* preserve aspect ratio */
}

/* 2) Center the nav links */
header {
  display: flex;
  align-items: center;
}
header nav {
  flex: 1;                 /* take up all available space */
}
header nav ul {
  justify-content: center; /* move the <li>s to the horizontal center */
}

/* 3) Make “Get a Quote” text black */
header .btn-quote {
  color: #000 !important;  /* override any inherited color */
  /* if you want a white background behind the black text: */
  background: #fff;
  border-color: #000;      /* match the new text color */
}

header nav ul {
  margin-left: 4rem;   /* shift the ul over */
}

/* ─── Red 3D “Get a Quote” Button (override white) ─────────────────────── */
.btn-quote {
  background: #e63946 !important;        /* bright red */
  color: #fff !important;               /* white text */
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  box-shadow:
    0 6px 0 #a02834,                    /* solid base */
    0 6px 12px rgba(0,0,0,0.2);         /* drop shadow */
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

/* Lift on hover */
.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 #a02834,
    0 8px 16px rgba(0,0,0,0.25);
}

/* ─── Header Dropdown ──────────────────────────────────────────────────── */
header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  position: relative;
}

header nav ul li {
  position: relative; /* for the dropdown positioning */
}

/* Hide submenu by default */
header .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* directly under the parent <li> */
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 300;
}

/* Show on hover */
@media (hover: hover) {
  header li.dropdown:hover .dropdown-menu {
    display: block;
  }
}


/* Style the items */
header .dropdown-menu li {
  margin: 0;
}

/* The links inside */
header .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

/* Hover state */
header .dropdown-menu a:hover {
  background: var(--accent);
  color: #fff;
}

/* Optional: style the “Services ▾” button */
header .dropbtn {
  cursor: pointer;
  display: inline-block;
  color: var(--text);
  text-decoration: none;
}

/* Enable hover-based dropdowns on devices that support hover */
@media (hover: hover) {
  header li.dropdown:hover .dropdown-menu {
    display: block;
  }
}


/* ─── Modal Overlay ─────────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  font-family: inherit;
}

/*──────────────────────────────────────────────────────────────────────────*/
/* MODAL VISIBILITY OVERRIDES                                              */
/*──────────────────────────────────────────────────────────────────────────*/

/* show & center the modal when .open is added */
.modal.open {
  display: flex;               /* make it visible and allow centering */
  align-items: center;         /* vertical centering */
  justify-content: center;     /* horizontal centering */
}



/* semi‐transparent backdrop */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

/* the card itself */
.modal-card {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 480px;
  margin: 5% auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  transform: translateY(-20px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1001;
}

/* when .open is added, show it */
.modal.open .modal-card {
  transform: translateY(0);
  opacity: 1;
}

/* close button */
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #444;
  cursor: pointer;
}

/* header with gradient accent */
.modal-header {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
}
.modal-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}
.modal-header p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* form inside */
.modal-form {
  padding: 1.5rem 1rem 2rem;
  display: grid;
  gap: 1rem;
}
.modal-form .field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.modal-form .field input,
.modal-form .field select,
.modal-form .field textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}
.modal-form .phone-field {
  display: flex;
  gap: 0.5rem;
}
.btn-submit {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 #a02834, 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a02834, 0 6px 16px rgba(0,0,0,0.2);
}

.topbar {
  position: sticky;   /* or `fixed` if you want it always visible */
  top: 0;             /* stick to the very top */
  left: 0;
  width: 100%;
  z-index: 200;       /* sit above everything else */
}

/* ─── Pin the entire header to the top ─────────────────────────────── */
header {
  position: fixed;
  top:      0;
  left:     0;
  width:    100%;
  z-index:  1000;       /* above everything else */
  background: #fff;     /* match your header-bg so it covers any content beneath */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Since the header (and topbar) are now “out” of the document flow,
   push everything else down by their combined height */
body {
  /* adjust this value to exactly match your topbar + header total height */
  padding-top: 6rem;    /* e.g. 3rem topbar + 3rem header */
}

/* ─── Contact Page Full-screen Centering ───────────────────────────────── */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 6rem); /* subtract header height if fixed */
  padding: 2rem;
  text-align: center;
  background: url("../images/backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
  color: #fff; /* if you need white text on dark bg */
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #0e0e0e;
}

/* Wrapper so the form doesn’t stretch too wide */
.contact-form-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Re-use your form styling, but center within the wrapper */
.contact-form {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 2rem;
}

.contact-form .field-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.phone-field {
  display: flex;
  gap: 0.5rem;
}

.btn-submit {
  width: 100%;
  background: #e63946; /* bright red */
  color: #fff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 0 #a02834, 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a02834, 0 6px 16px rgba(0,0,0,0.2);
}

/* ─── Contact Page Description ───────────────────────────────────────────── */
.contact-desc {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #0a0a0a; /* pure white on a dark background; switch to var(--text) on light */
  text-align: center;
}

/* ─── Contact Page Overlay & Text Enhancements ─────────────────────────── */
.contact-page {
  position: relative;
  background-position: center bottom;
  background-size: cover;
  /* if you already have a background-image here, leave it */
  padding: 6rem 2rem 4rem;
  color: #fff;                   /* default to white text */
}

/* the dark translucent overlay */
.contact-page .contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* stack your header content above the overlay */
.contact-page .contact-header {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* make titles white with a little shadow for legibility */
.contact-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: #f8f8f8;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* description styling */
.contact-desc {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  color: #fcf9f9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}


/* ─── Boxed Container for About / Terms / Privacy ───────────────────────── */
.box-container {
  max-width: 800px;
  margin: 4rem auto;                /* vertical spacing + center */
  padding: 2.5rem 2rem;             /* comfortable inner padding */
  background: #fff;                 /* white panel */
  border-radius: 12px;              /* rounded corners */
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  color: var(--text);               /* ensure your dark text color */
  line-height: 1.6;
}

/* Optional: tighten up headings */
.box-container h1,
.box-container h2 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.box-container ul {
  padding-left: 1.25rem;            /* indent bullets */
  margin-top: 0.5rem;
}




@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-left: 0;
  }

  header nav {
    flex: none;
  }

  header .header-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}


