/* Earth LogicWare Technologies — shared typography, color and background system */
:root {
  --elt-navy: #082F5B;
  --elt-navy-deep: #061D38;
  --elt-blue: #1769AA;
  --elt-sky: #EAF4FF;
  --elt-orange: #B45309;
  --elt-gold: #D4A017;
  --elt-ink: #172B43;
  --elt-muted: #596B7D;
  --elt-soft: #F3F6FA;
  --elt-white: #FFFFFF;
  --elt-border: #DCE5EF;
  --elt-shadow: 0 14px 36px rgba(8, 47, 91, .10);
}
html { scroll-behavior: smooth; }
body { font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--elt-ink); background: #fff; line-height: 1.65; }
body, p, li, a, button, input, select, textarea { font-family: Inter, "Segoe UI", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 { color: var(--elt-navy); font-weight: 700; line-height: 1.25; }
p, li, label, small { color: inherit; }
a { color: var(--elt-blue); transition: color .2s ease, background-color .2s ease; }
a:hover { color: var(--elt-orange); }
button, .btn, input[type="submit"] { border-radius: 8px; font-weight: 650; }
:focus-visible { outline: 3px solid #E9A23B; outline-offset: 3px; }
::selection { color: #fff; background: var(--elt-blue); }
/* Main homepage */
#home h1 { color: #fff !important; }
#home h1 span { color: var(--elt-orange) !important; }
#home h2 { color: var(--elt-sky) !important; }
.header { background: var(--elt-navy) !important; }
.about, .team, .faq { background: #fff !important; }
.pt-5.pb-5, .clients, .contact { background: var(--elt-soft) !important; }
.heading, .section-head h1, .clients .section-header h2 { color: var(--elt-navy) !important; }
.heading::before, .heading::after { border-color: var(--elt-gold) !important; }
/* Our Team: exactly three cards per row on desktop */
.team-section { padding: clamp(4.5rem, 7vw, 7.5rem) clamp(1.6rem, 5vw, 6rem); background: #fff !important; }
.team-container { width: min(1200px, 100%); margin: 0 auto; }
.team-eyebrow { margin: 0 0 .8rem; color: var(--elt-orange); font-size: 1.25rem; font-weight: 750; letter-spacing: .14em; text-align: center; }
.team-intro { max-width: 720px; margin: -1rem auto 3.5rem; color: var(--elt-muted); font-size: 1.6rem; text-align: center; }
.team-section .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; align-items: stretch; }
.team-section .team-grid > .card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 1.6rem; overflow: hidden; border: 1px solid var(--elt-border); border-radius: 1.4rem; background: #fff; box-shadow: 0 8px 26px rgba(8,47,91,.07); text-align: center; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.team-section .team-grid > .card:hover { transform: translateY(-5px); border-color: #B8D3EE; box-shadow: var(--elt-shadow); }
.team-section .team-grid .image { width: 100%; height: 250px; margin: 0 auto 1.4rem; overflow: hidden; border-radius: 1rem; background: var(--elt-soft); }
.team-section .team-grid .image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-section .team-grid .info { display: flex; flex: 1; flex-direction: column; align-items: center; }
.team-section .team-grid .info h3 { margin: .3rem 0 .7rem; color: var(--elt-navy); font-size: 1.75rem; font-weight: 750; }
.team-section .team-grid .info span { display: block; margin-bottom: 1.2rem; color: var(--elt-muted); font-size: 1.35rem; line-height: 1.55; }
.team-section .team-grid .icons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: auto; }
.team-section .team-grid .icons a { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--elt-sky); color: var(--elt-navy); text-decoration: none; }
.team-section .team-grid .icons a:hover { background: var(--elt-navy); color: #fff; }
/* Careers page */
body:has(.career), body:has(.careers), body:has(.job), body:has(#career) { background: var(--elt-soft); }
body > .header, .header[style] { background: var(--elt-navy) !important; color: #fff; box-shadow: 0 5px 22px rgba(4,20,40,.13); }
.header .navbar a, .header[style] .navbar a { color: #fff !important; }
/* Registration and trainee forms */
body:has(form) { color: var(--elt-ink); }
body:has(.container > form), body:has(form[action*="registration"]), body:has(form[action*="trainee"]) { background: linear-gradient(135deg, #F3F6FA 0%, #EAF4FF 100%); }
body:has(.container > form) .container, body:has(form[action*="registration"]) .container { border: 1px solid var(--elt-border); border-radius: 16px; box-shadow: var(--elt-shadow); }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-color: #CBD8E6; border-radius: 8px; color: var(--elt-ink); }
input:focus, select:focus, textarea:focus { border-color: var(--elt-blue) !important; box-shadow: 0 0 0 3px rgba(23,105,170,.13) !important; outline: none; }
button[type=submit], input[type=submit], .btn-primary { border-color: var(--elt-navy) !important; background: var(--elt-navy) !important; color: #fff !important; }
button[type=submit]:hover, input[type=submit]:hover, .btn-primary:hover { border-color: var(--elt-orange) !important; background: var(--elt-orange) !important; color: #fff !important; }
@media (max-width: 900px) {
  .team-section .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem; }
  .team-section .team-grid .image { height: 220px; }
}
@media (max-width: 560px) {
  .team-section .team-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .team-section .team-grid > .card { max-width: 420px; width: 100%; margin: 0 auto; }
  .team-section .team-grid .image { height: 260px; }
  .team-intro { margin-bottom: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Shared site-wide header: consistent with the homepage on every page */
.shared-site-header { box-sizing:border-box; position:sticky !important; top:0; left:0; z-index:1000; display:flex !important; align-items:center; justify-content:space-between !important; gap:24px; width:100%; min-height:80px; padding:12px clamp(18px,4vw,58px) !important; background:#0b3159 !important; box-shadow:0 4px 18px rgba(3,18,35,.16); }
.shared-site-header .shared-brand { display:flex; flex:0 0 auto; align-items:center; text-decoration:none; }
.shared-site-header .shared-brand img { display:block; width:auto !important; height:48px !important; max-width:150px; object-fit:contain; }
.shared-site-header .navbar { display:block !important; flex:1 1 auto; margin:0; }
.shared-site-header .navbar ul { display:flex !important; flex-wrap:wrap; align-items:center; justify-content:flex-end !important; gap:clamp(12px,2.2vw,34px); margin:0 !important; padding:0 !important; list-style:none !important; }
.shared-site-header .navbar ul li { margin:0 !important; padding:0 !important; }
.shared-site-header .navbar ul li a { display:block; padding:10px 0; color:#fff !important; font-family:Inter,Arial,sans-serif; font-size:16px !important; font-weight:700; line-height:1.3; text-decoration:none !important; white-space:nowrap; transition:color .2s ease; }
.shared-site-header .navbar ul li a:hover,.shared-site-header .navbar ul li a[aria-current="page"] { color:#ffad45 !important; }
.shared-site-header .shared-menu-toggle { display:none; border:0; background:transparent; color:white; font-size:25px; }
body { scroll-padding-top:85px; }
@media(max-width:900px) { .shared-site-header { min-height:72px; flex-wrap:wrap; gap:8px; } .shared-site-header .shared-brand img { height:42px !important; } .shared-site-header .shared-menu-toggle { display:block; margin-left:auto; cursor:pointer; } .shared-site-header .navbar { display:none !important; flex-basis:100%; width:100%; } .shared-site-header .navbar.is-open { display:block !important; } .shared-site-header .navbar ul { align-items:flex-start; flex-direction:column; gap:0; padding:8px 0 12px !important; } .shared-site-header .navbar ul li { width:100%; } .shared-site-header .navbar ul li a { padding:11px 4px; } }


/* Consistent professional header colors across secondary pages */
.shared-site-header { background:#ffffff !important; border-bottom:1px solid #e6ebf1 !important; box-shadow:0 4px 18px rgba(9,35,64,.08) !important; }
.shared-site-header .shared-brand img { width:220px !important; height:88px !important; max-width:min(28vw,220px) !important; object-fit:contain; background:#fff; }
.shared-site-header .navbar ul li a { color:#102b49 !important; font-size:15px !important; font-weight:650 !important; }
.shared-site-header .navbar ul li a:hover, .shared-site-header .navbar ul li a[aria-current="page"] { color:#b77912 !important; }
.shared-site-header .shared-menu-toggle { color:#fff !important; background:#102b49 !important; border-radius:8px; padding:8px 12px; }
@media(max-width:900px) { .shared-site-header .shared-brand img { width:190px !important; height:72px !important; max-width:70vw !important; } .shared-site-header .navbar { background:#fff !important; } }

/* Final logo-matched top navigation strip: white like the logo canvas, burgundy and gold accents. */
body > header.header,
body > header.header.shared-site-header,
header.header[style] {
  background: #FFFFFF !important;
  color: #7D1F27 !important;
  border-bottom: 3px solid #D5A52B !important;
  box-shadow: 0 4px 18px rgba(55, 28, 18, 0.09) !important;
}
body > header.header .navbar,
body > header.header.shared-site-header .navbar,
header.header[style] .navbar { background: #FFFFFF !important; }
body > header.header .navbar ul li a,
body > header.header.shared-site-header .navbar ul li a,
header.header[style] .navbar ul li a { color: #7D1F27 !important; }
body > header.header .navbar ul li a:hover,
body > header.header .navbar ul li a:focus-visible,
body > header.header.shared-site-header .navbar ul li a:hover,
body > header.header.shared-site-header .navbar ul li a:focus-visible,
header.header[style] .navbar ul li a:hover,
header.header[style] .navbar ul li a:focus-visible { color: #B78313 !important; }
body > header.header .nav-toggle,
body > header.header.shared-site-header .shared-menu-toggle,
header.header[style] .nav-toggle { background: #7D1F27 !important; color: #FFFFFF !important; border: 1px solid #D5A52B !important; }
body > header.header .brand img,
body > header.header.shared-site-header .shared-brand img { background: #FFFFFF !important; }
@media (max-width: 850px) {
  body > header.header .navbar,
  body > header.header.shared-site-header .navbar,
  header.header[style] .navbar { background: #FFFFFF !important; }
}
