/* ===== Base ===== */
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  background-color: #212121;
  color: #E0E0E0;
}

a {
  color: #F57C00;
  text-decoration: none;
}

p, ul li {
  font-size: 1.2rem;
  margin: 0;
  color: #E0E0E0;
}

ul li {
  padding: 0.1rem 0 0 0;
}

p {
  padding: 0 0 1rem 0;
}

/* ===== Typography ===== */
h1, h3, h2, section h2 {
  font-family: Montserrat, sans-serif;
}

h1 {
  font-size: 4rem;
  margin-bottom: 0;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

section h2 {
  font-size: 3rem;
  color: #1D7FA8;
}

/* ===== Section Layout ===== */
section {
  padding: 1rem 0.5rem;
  max-width: 1000px;
  margin: auto;
}

/* ===== Header / Topbar ===== */
header {
  font-family: Montserrat, sans-serif !important;
}

header h1 {
  font-size: 4rem;
  margin: 0;
  color: #1D7FA8;
}

header p {
  color: #1D7FA8;
  font-size: 2rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(to right, #0A1F44, #72ADAF);
  padding: 0.25rem 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 80px;
  height: auto;
}

.brand h1 {
  font-size: 2.2rem;
  color: #E0E0E0;
}

.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #E0E0E0;
  padding: 0;
}

/* ===== Navigation ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  padding: 0;
}

nav li {
  position: relative;
}

nav a {
  color: #ffffff;
  font-weight: bold;
}

nav li:hover > ul {
  display: block;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0.5rem;
  background-color: #E0E0E0;
  border-radius: 0.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

nav ul ul li {
  margin: 0;
}

nav ul ul li a {
  color: #212121;
  white-space: nowrap;
}

nav ul li ul li a:hover {
  background-color: #00797D;
}

/* Dropdown with icon */
.has-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.has-dropdown .dropdown-toggle i {
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
  color: inherit;
}

/* ===== Hero & CTA ===== */
.hero {
  text-align: center;
}

.hero .cta-button,
.cta-banner .cta-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 2rem;
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
}

.cta-button {
  font-family: Roboto, sans-serif !important;
  font-size: 2rem !important;
  font-weight: bold !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.hero .cta-button {
  background-color: #F57C00;
  color: white;
}

.cta-banner {
  padding: 2rem;
  text-align: center;
}

.cta-banner .cta-button {
  background-color: #00797D;
  color: white;
}

/* ===== Service Cards ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #0A1F44;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  min-height: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-top: 0;
  color: #00797D;
}

.service-card a {
  margin-top: auto;
  font-weight: bold;
}

/* Card header with icon */
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-header i {
  font-size: 3.5rem;
  line-height: 1;
  color: #00797D;
  margin-top: 0.15rem;
}

.card-header h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #00797D;
}

/* ===== Certification Badge Section ===== */
.cert-badges {
  text-align: left;
  padding: 3rem 1rem;
  background-color: #212121;
}

.badge-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.badge-marquee .track {
  display: inline-flex;
  gap: .75rem;
  will-change: transform;
  animation: scroll 30s linear infinite;
}
.badge-marquee .badge { flex: 0 0 auto; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we duplicated the row */
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .badge-marquee .track { animation: none; }
}

/* ===== Footer ===== */
.site-footer {
  background-color: #0A1F44;
  color: #E0E0E0;
  padding: 3rem 2rem;
  font-family: Roboto, sans-serif;
}

.site-footer address {
  font-style: normal;
  margin: 0 0 .5rem;
  color: inherit;
  font-size: 1.2rem;
}

.site-footer address a {
  color: #F57C00;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.site-footer .footer-col p,
.site-footer .footer-col address {
  margin: 0 0 .5rem;
  line-height: 1.6;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: #1D7FA8;
  font-family: Montserrat, sans-serif;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #E0E0E0;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

/* Brand block in footer */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.footer-brand h2 {
  font-size: 2rem;
  margin: 0;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
}

.footer-logo {
  height: 50px;
  margin: 0;
}

/* Social links */
.social-links {
  margin-top: 1rem;
}

.social-links a {
  margin-right: 0.75rem;
  color: #E0E0E0;
  font-size: 1.5rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #F57C00;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-col {
    width: 100%;
  }
}

.faq-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.faq-section h2 {
  font-family: Montserrat, sans-serif;
  font-size: 2.5rem;
  color: #1D7FA8;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #444;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F57C00;
  cursor: pointer;
  padding: 1rem 0;
  font-family: Roboto, sans-serif;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 1rem;
  color: #E0E0E0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* adjust based on expected content */
  padding-bottom: 1rem;
}

.faq-answer p {
  font-weight: normal;
}

.project-flow {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1.2rem;
}

.project-flow th,
.project-flow td {
  border: 1px solid #444;
  padding: 0.75rem 1rem;
  text-align: left;
}

.project-flow th {
  background-color: #156082;
  color: #E0E0E0;
  font-family: Montserrat, sans-serif;
}



/* Center the whole footer content area */
.site-footer { text-align: center; }

.footer-container {
  justify-content: center;          /* was: space-between */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make columns a consistent width and center each column block */
.footer-col {
  flex: 0 1 260px;                  /* fixed-ish column width with wrap */
  min-width: 220px;
  margin: 0 0 1rem 0;
}

/* Keep internal text mostly left-aligned for readability,
   but still keep the block centered */
.footer-col > * {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;                 /* prevents super-wide lines */
}

/* Brand column visually centred */
.brand-col { text-align: center; }
.footer-brand { justify-content: center; }

/* Address normalisation (keeps visual consistency) */
.site-footer address {
  font-style: normal;
  margin: 0 0 .5rem;
  color: inherit;
  font-size: 1.2rem;
}
.site-footer address a {
  color: #F57C00;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Mobile: center the columns themselves */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;           /* was: flex-start */
  }
  .footer-col { width: 100%; max-width: 32rem; }
}