/* =========================================================
   Compubase LTD - Shared stylesheet
   Updated colour theme:
   - Main background: #4c4c4c
   - Highlight / accent: #ffaa03
   Notes:
   - Uses CSS custom properties for maintainability
   - Dark modern visual system with warm accent
   - WCAG-conscious contrast and focus states
   ========================================================= */

:root {
  --color-bg: #4c4c4c;
  --color-bg-soft: #575757;
  --color-panel: rgba(255, 255, 255, 0.08);
  --color-panel-strong: rgba(255, 255, 255, 0.12);
  --color-border: rgba(255, 255, 255, 0.18);

  --color-text: #f3f3f3;
  --color-text-muted: #dddddd;
  --color-heading: #ffffff;

  --color-brand: #ffaa03;
  --color-brand-2: #ffbf47;
  --color-success: #72d68c;

  --color-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  --transition-fast: 0.2s ease;
  --transition-main: 0.35s ease;

  --nav-height: 82px;
}

/* Global base */
html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(255, 170, 3, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 191, 71, 0.10), transparent 20%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  padding-top: var(--nav-height);
}

.bg-dark-custom {
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.section-title,
.hero-title {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
}

p,
li,
.form-label,
.form-check-label {
  color: var(--color-text-muted);
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffd27a;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 2000;
  background: #ffffff;
  color: #111111;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 170, 3, 0.8);
  outline-offset: 2px;
}

/* Navbar */
.site-navbar {
  background: rgba(58, 58, 58, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-2));
  color: #2e2e2e;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  position: relative;
  padding: 0.65rem 0.9rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-2));
}

.btn-brand {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-2));
  color: #2b2b2b;
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  box-shadow: 0 10px 30px rgba(255, 170, 3, 0.24);
}

.btn-brand:hover {
  color: #1f1f1f;
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-outline-light {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #2a2a2a;
}

/* Shared section spacing */
.section-padding {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
}

.border-top-soft {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-kicker,
.eyebrow {
  display: inline-block;
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}



.kicker-large {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}




.section-title {
  font-size: clamp(1.9rem, 2vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 680px;
  color: var(--color-text-muted);
}

/* Hero / page header */
.hero-section,
.page-header {
  padding: 5.75rem 0 4.75rem;
}




.hero-section-compact {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}





.hero-title {
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.08rem;
  max-width: 620px;
  color: #eeeeee;
}

.hero-image-wrap {
  position: relative;
}

.hero-image,
.content-image {
  box-shadow: var(--color-shadow);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.highlight-chip {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 170, 3, 0.26);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Cards */
.info-card,
.form-card,
.side-panel,
.cta-panel {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--color-shadow);
}

.info-card {
  padding: 1.6rem;
  transition: transform var(--transition-main), border-color var(--transition-main), background var(--transition-main);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 170, 3, 0.38);
  background: var(--color-panel-strong);
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #2c2c2c;
  background: linear-gradient(135deg, var(--color-brand), #ffd27a);
  font-size: 1.05rem;
}

.cta-panel {
  padding: 3rem 1.5rem;
}

.form-card,
.side-panel {
  padding: 2rem;
}

/* Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.feature-list i {
  color: var(--color-success);
  margin-top: 0.2rem;
}

.contact-inline {
  display: grid;
  gap: 0.8rem;
  color: var(--color-text);
}

/* FAQ accordion */
.faq-accordion {
  max-width: 900px;
}

.accordion-item {
  background: transparent;
  border: 1px solid var(--color-border) !important;
  border-radius: 1rem !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 170, 3, 0.13);
  color: #ffffff;
  box-shadow: none;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
}

/* Forms */
.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.form-control::placeholder {
  color: #d5d5d5;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 170, 3, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(255, 170, 3, 0.18);
  color: #ffffff;
}

.form-select option {
  background-color: #5a5a5a;
  color: #ffffff;
}

.form-label {
  color: #f6f6f6;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  background: rgba(60, 60, 60, 0.82);
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.92);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 170, 3, 0.22);
  color: #ffffff;
}

/* Responsive tuning */
@media (max-width: 991.98px) {
  .hero-section,
  .page-header {
    padding: 4.5rem 0 3.5rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(72, 72, 72, 0.98);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 1rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-height: 74px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-panel,
  .form-card,
  .side-panel,
  .info-card {
    padding: 1.35rem;
  }

  .footer-line {
    flex-direction: column;
    text-align: center;
  }
}