/* Root styles */
:root {
    --ob-bg: #071233;
    --ob-bg-dark: #04123E;
    --ob-accent: #F78F1E;
    --ob-text: #ffffff;
    --ob-text-muted: rgba(255, 255, 255, 0.75);
    --ob-card-bg: #0c1843;
    --ob-border-subtle: rgba(255, 255, 255, 0.06);
    --ob-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
    --radius-lg: 1.25rem;    /*from dr.Hirsch*/
}

/* Prevent iPhone rubber-band scroll bounce */
html, body {
    overscroll-behavior: none;
    position: relative;
    overflow-x: hidden;
    height: 100%;
}

/* Global */
html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #0d1f5a 0, var(--ob-bg) 45%, #020617 100%);
    color: var(--ob-text);
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


.section-divider {
    border-top: 2px solid rgba(255,255,255,.1);
    transition: border-color .3s ease;
    margin: 1rem auto;
    width: 70%;
}

.text-accent {
    color: var(--ob-accent) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-section {
  /*background: radial-gradient(circle at top right, rgba(247, 143, 30, 0.12) 0, transparent 55%), linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.3));*/
  background: radial-gradient(circle at top right, rgba(247, 143, 30, 0.08) 0, transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.25)); /*DM04*/
}


/* Navbar */
.ob-navbar-glass {
    background: radial-gradient(circle at top, rgba(247, 143, 30, 0.12), transparent 55%)
                rgba(4, 18, 62, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ob-border-subtle);
}

/* Navbar CTA alignment */
.navbar .btn-accent {
    align-self: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

/* Logo */
.ob-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Hero */
#hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.ob-hero-card {
    background: radial-gradient(circle at top left, rgba(247, 143, 30, 0.16), transparent 60%) linear-gradient(145deg, #0b163d, #06102c);
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--ob-shadow-soft);
}

.ob-hero-avatar-wrapper {
    width: 240px;    /*SHAM: was 120*/
    height: 240px;
    border-radius: 999px;
    padding: 4px;
    background: radial-gradient(circle at top left, var(--ob-accent), transparent 70%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ob-hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

/* Cards */
.ob-card {
    background: radial-gradient(circle at top left, rgba(247, 143, 30, 0.13), transparent 60%)
                linear-gradient(145deg, #0b163d, #06102c);
    border-radius: 1.25rem;
    border: 1px solid var(--ob-border-subtle);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.65);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.ob-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(247, 143, 30, 0.55);
    border-color: rgba(247, 143, 30, 0.65);
}


/* Service Cards – Improved Text Contrast */
.service-card {
  color: #333; /* Slate gray text for body content */
}

/* Headings inside service cards */
.service-card h3,
.service-card h4,
.service-card h5 {
  color: #111; /* Slightly darker for headings, keeps hierarchy clear */
}

/* Paragraphs and small text inside cards */
.service-card p,
.service-card span,
.service-card li {
  color: #333;
}


/* Buttons */
.btn-accent {
    --bs-btn-color: #0b1022;
    --bs-btn-bg: var(--ob-accent);
    --bs-btn-border-color: var(--ob-accent);
    --bs-btn-hover-bg: #ff9d3a;
    --bs-btn-hover-border-color: #ff9d3a;
    --bs-btn-focus-shadow-rgb: 247, 143, 30;
    --bs-btn-active-bg: #f27e00;
    --bs-btn-active-border-color: #f27e00;
    border-radius: 999px;
    box-shadow: 0 0 25px rgba(247, 143, 30, 0.4);
}

.btn-outline-accent {
    --bs-btn-color: var(--ob-accent);
    --bs-btn-border-color: rgba(247, 143, 30, 0.65);
    --bs-btn-hover-bg: rgba(247, 143, 30, 0.1);
    --bs-btn-hover-border-color: var(--ob-accent);
    --bs-btn-focus-shadow-rgb: 247, 143, 30;
    border-radius: 999px;
}

/*from dr.Hirsch*/
.btn-outline-light-rounded {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-outline-light-rounded:hover {
  background-color: #fff;
  color: #0d1117;
}



/* Badges */
.ob-badge-accent {
    background: rgba(247, 143, 30, 0.12);
    color: var(--ob-accent);
    border: 1px solid rgba(247, 143, 30, 0.35);
    letter-spacing: 0.03em;
    /*text-transform: uppercase; sham*/
    font-size: 0.68rem;
}

.ob-badge-soft {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ob-text-muted);
    border-radius: 999px;
    border: 1px solid var(--ob-border-subtle);
    font-size: 0.7rem;
}

/* Why Choose Metrics */
.ob-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(247, 143, 30, 0.25), transparent 70%);
    border: 1px solid rgba(247, 143, 30, 0.4);
    color: var(--ob-accent);
}

.ob-icon-circle-lg {
    width: 56px;
    height: 56px;
}

.ob-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ob-metric-card {
    background: radial-gradient(circle at top left, rgba(247, 143, 30, 0.18), transparent 70%)
                linear-gradient(135deg, #0d1b4b, #070f28);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--ob-border-subtle);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

/* Accordion */
.ob-accordion-item {
    background-color: transparent;
    border: 1px solid var(--ob-border-subtle);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ob-accordion-item .accordion-button {
    background-color: rgba(3, 10, 36, 0.85);
    color: var(--ob-text);
    font-size: 0.95rem;
}

.ob-accordion-item .accordion-button:not(.collapsed) {
    background: radial-gradient(circle at top left, rgba(247, 143, 30, 0.18), transparent 70%);
    color: var(--ob-text);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.ob-accordion-item .accordion-button::after {
    filter: invert(1) opacity(0.7);
}

.ob-accordion-item .accordion-body {
    background-color: rgba(5, 15, 52, 0.95);
    color: var(--ob-text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-control, .form-select, textarea.form-control {
    background-color: rgba(1, 8, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--ob-text);
    border-radius: 0.85rem;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(1, 8, 35, 0.95);
    border-color: var(--ob-accent);
    box-shadow: 0 0 0 0.15rem rgba(247, 143, 30, 0.35);
    color: var(--ob-text);
}

.form-control::placeholder, textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/*TODO: CHANGE THIS COLOUR*/
.invalid-feedback {
    color: #ffb4b4;
}


/* Active & hover navigation styling */
.navbar .nav-link.active,
.navbar .nav-link.show,
.navbar .dropdown-item.active,
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
    color: var(--ob-accent) !important;
    background-color: transparent !important; /* Remove blue background */
}

/* Remove Bootstrap default blue highlight from active dropdown items */
.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent !important;
    color: var(--ob-accent) !important;
}

/* Orange dropdown caret in active/open state */
.navbar .nav-link.dropdown-toggle.active::after,
.navbar .nav-link.dropdown-toggle.show::after {
    filter: invert(59%) sepia(91%) saturate(1089%) hue-rotate(352deg) brightness(102%) contrast(98%);
}

/* Utilities */
.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (max-width: 767.98px) {
    #hero {
        min-height: auto;
        padding-top: 4.5rem;
    }
}


/* Footer */
footer {
  background: radial-gradient(circle at bottom, rgba(247, 143, 30, 0.1), transparent 60%) rgba(1, 7, 29, 0.98);
  color: var(--ob-text-muted);
  font-family: 'Inter', sans-serif;
}

footer .footer-logo {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

footer .footer-logo:hover {
  transform: scale(1.05);
}

footer a.text-white-75:hover {
  color: var(--ob-accent) !important;
  transition: color 0.3s ease;
}

footer h2 {
  font-size: 2rem;
  color: var(--ob-accent);
}

footer p {
  font-size: 1.05rem;
  line-height: 1.7;
}

footer ul {
  padding-left: 0;
}

footer ul li {
  margin-bottom: 0.4rem;
}

@media (max-width: 767.98px) {
  footer .container.d-flex {
    flex-direction: column;
    text-align: center;
  }

  footer h2 {
    font-size: 1.6rem;
    margin-top: 0.5rem;
  }

  footer .footer-logo {
    height: 50px;
  }

  footer p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  footer .col-6 {
    text-align: center;
  }

  footer .d-flex {
    justify-content: center !important;
  }
}


/* ==========================================================
   GOOGLE reCAPTCHA v3 – Hide badge (show footer links instead)
   ========================================================== */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}