/* ============================================
   PELICAN PARTNERS — Global Styles
   ============================================ */

:root {
  --navy: #1B3A5C;
  --steel: #4A90B8;
  --sky: #D6E8F5;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --gray: #E8EAED;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: #F2F3F5;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* Global focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 2px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
}

.navbar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
}

.navbar-logo img {
  display: none;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding-bottom: 14px;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--sky);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar-links a.active {
  color: var(--white);
}

.navbar-phone {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--steel);
  color: var(--white);
}

.btn-primary:hover {
  background: #3a7da3;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--sky);
}

.btn-outline:hover {
  background: rgba(214, 232, 245, 0.15);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #142d49;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(42, 85, 128, 0.85) 100%),
              url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1600&q=80') center/cover no-repeat;
  padding: 80px 24px;
  text-align: center;
  position: relative;
}

.hero-logo {
  display: block;
  margin: 0 auto 32px;
  height: 160px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 17px;
  color: var(--sky);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CERTIFICATION BADGES
   ============================================ */

.cert-strip {
  background: var(--sky);
  padding: 18px 24px;
  text-align: center;
}

.cert-strip .container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cert-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  border: 1px solid rgba(27, 58, 92, 0.15);
}


/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--gray);
}

.section-white {
  background: var(--white);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid #dde1e6;
  border-radius: 12px;
  padding: 36px 32px;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(27, 58, 92, 0.1);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-card .icon {
  color: var(--steel);
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.service-card ul {
  list-style: none;
  margin: 12px 0 20px;
}

.service-card ul li {
  font-size: 14px;
  color: #555;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--steel);
  border-radius: 50%;
}

.service-card .learn-more {
  color: var(--steel);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.service-card .learn-more:hover {
  gap: 8px;
}

/* ============================================
   WHY US / FEATURES
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-card .icon {
  margin: 0 auto 20px;
  color: var(--steel);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   INDUSTRIES
   ============================================ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.industry-item {
  background: var(--white);
  border: 1px solid #dde1e6;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.industry-item:hover {
  border-color: var(--steel);
}

.industry-item .icon {
  margin-bottom: 12px;
  color: var(--steel);
}

.industry-item h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--gray);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  border-top: 1px solid #dde1e6;
  padding-top: 16px;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.testimonial-role {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--navy);
  padding: 60px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--sky);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.page-header {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(42, 85, 128, 0.85) 100%);
  padding: 56px 24px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-header--services {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(42, 85, 128, 0.85) 100%),
              url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=80') center/cover no-repeat;
}

.page-header--about {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(42, 85, 128, 0.85) 100%),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover no-repeat;
}

.page-header--contact {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.88) 0%, rgba(42, 85, 128, 0.85) 100%),
              url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600&q=80') center/cover no-repeat;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--sky);
  font-size: 16px;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.cert-card {
  background: var(--white);
  border: 1px solid #dde1e6;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cert-card .icon {
  margin-bottom: 12px;
  color: var(--steel);
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.cert-card .cert-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
  border: 3px solid;
}

.cert-card .cert-mark.cert-mark--dbe,
.cert-card .cert-mark.cert-mark--sbe,
.cert-card .cert-mark.cert-mark--hubzone,
.cert-card .cert-mark.cert-mark--hudson,
.cert-card .cert-mark.cert-mark--osha,
.cert-card .cert-mark.cert-mark--sam,
.cert-card .cert-mark.cert-mark--disaster {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--sky);
}

.service-area {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.service-area h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-area p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.state-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.state-tag {
  background: var(--sky);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #F2F3F5;
  color: var(--black);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  flex-shrink: 0;
}

.contact-detail h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 14px;
  color: #555;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  padding: 48px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid #333;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #aaa;
  transition: color 0.2s;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--steel);
}

.footer-bottom a {
  color: #aaa;
  text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--steel);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #aaa;
}

.footer-certs {
  display: flex;
  gap: 16px;
}

.footer-certs span {
  font-size: 11px;
  color: #aaa;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content .legal-updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 32px;
  font-style: italic;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 32px 0 12px;
}

.legal-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 20px 24px;
}

.legal-content ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--steel);
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

  /* ---- Prevent horizontal overflow ---- */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* ---- Navigation ---- */
  .menu-toggle {
    display: flex;
  }

  .navbar .container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
  }

  .navbar-logo {
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
  }

  .navbar-logo span {
    font-size: 20px;
    letter-spacing: 5px;
  }

  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 56px;
    left: -24px;
    right: -24px;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    z-index: 100;
  }

  .navbar-links.active {
    display: flex;
  }

  /* ---- Hero ---- */
  .hero {
    padding: 48px 20px;
  }

  .hero-logo {
    height: 100px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* ---- Page Headers ---- */
  .page-header {
    padding: 36px 20px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .page-header p {
    font-size: 14px;
  }

  /* ---- Sections ---- */
  .section {
    padding: 48px 20px;
  }

  .section-title {
    font-size: 22px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 14px;
    text-align: center;
  }

  /* ---- Cert Strip ---- */
  .cert-strip {
    padding: 14px 16px;
  }

  .cert-strip .container {
    gap: 8px;
    justify-content: center;
  }

  .cert-badge {
    font-size: 9px;
    padding: 6px 10px;
    letter-spacing: 0.5px;
  }

  /* ---- Service Cards ---- */
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card {
    padding: 28px 20px;
    text-align: left;
  }

  .service-card-header {
    justify-content: flex-start;
  }

  .service-card h3 {
    font-size: 18px !important;
  }

  .service-card p,
  .service-card ul li {
    font-size: 13px;
  }

  .service-card .btn {
    display: block;
    text-align: center;
  }

  /* ---- Features ---- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    text-align: center;
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 16px;
  }

  .feature-card p {
    font-size: 13px;
  }

  /* ---- Industries / NAICS ---- */
  .industries-grid {
    grid-template-columns: 1fr 1fr !important;
    max-width: none !important;
    gap: 12px;
  }

  .industry-item {
    padding: 16px 12px;
  }

  .industry-item h3 {
    font-size: 14px;
  }

  /* ---- CTA Banner ---- */
  .cta-banner {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-banner h2 {
    font-size: 22px;
  }

  .cta-banner p {
    font-size: 14px;
  }

  .cta-banner .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 280px;
  }

  /* ---- About Page ---- */
  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .about-content p {
    font-size: 14px;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .cert-card {
    text-align: center;
  }

  /* ---- Contact Page ---- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* ---- Footer ---- */
  .footer {
    padding: 36px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo-text {
    font-size: 16px;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
    font-size: 12px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4 {
    font-size: 12px;
  }

  .footer-col ul li a {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 11px;
    margin: 2px 0;
  }

  .footer-certs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-certs span {
    font-size: 10px;
  }

  /* ---- Legal Pages ---- */
  .legal-content h2 {
    font-size: 18px;
  }

  .legal-content p,
  .legal-content ul li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .navbar-logo span {
    font-size: 17px;
    letter-spacing: 4px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero-logo {
    height: 80px;
  }

  .industries-grid {
    grid-template-columns: 1fr !important;
  }

  .cert-strip .container {
    gap: 6px;
  }

  .cert-badge {
    font-size: 8px;
    padding: 5px 8px;
  }
}

/* ============================================
   ACCESSIBILITY WIDGET
   ============================================ */

#a11y-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  font-family: var(--font-body);
}

#a11y-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--steel);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

#a11y-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

#a11y-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 260px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  border: 1px solid #dde1e6;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

#a11y-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.a11y-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #eee;
}

.a11y-panel-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0;
}

#a11y-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

#a11y-close:hover {
  color: var(--navy);
}

.a11y-options {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.a11y-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border: 2px solid #e0e3e8;
  border-radius: 10px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.a11y-option:hover {
  border-color: var(--steel);
  background: var(--sky);
}

.a11y-option.active {
  border-color: var(--steel);
  background: var(--sky);
  box-shadow: 0 0 0 2px rgba(74, 144, 184, 0.3);
}

.a11y-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  line-height: 1;
}

.a11y-icon svg {
  width: 22px;
  height: 22px;
}

.a11y-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}

.a11y-reset {
  display: block;
  width: calc(100% - 32px);
  margin: 4px 16px 16px;
  padding: 10px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}

.a11y-reset:hover {
  background: #f0f0f0;
  color: var(--navy);
}

/* ============================================
   ACCESSIBILITY MODES
   ============================================ */

/* Larger Text */
html.a11y-larger-text body {
  font-size: 120%;
}
html.a11y-larger-text h1 { font-size: 2.4em !important; }
html.a11y-larger-text h2 { font-size: 1.8em !important; }
html.a11y-larger-text h3 { font-size: 1.4em !important; }
html.a11y-larger-text p,
html.a11y-larger-text li,
html.a11y-larger-text a,
html.a11y-larger-text span,
html.a11y-larger-text label,
html.a11y-larger-text input,
html.a11y-larger-text select,
html.a11y-larger-text textarea {
  font-size: 118% !important;
}

/* High Contrast */
html.a11y-high-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-high-contrast .navbar,
html.a11y-high-contrast .footer {
  background: #000 !important;
  border-bottom: 2px solid #fff;
}
html.a11y-high-contrast .section,
html.a11y-high-contrast .section-alt,
html.a11y-high-contrast .hero,
html.a11y-high-contrast .page-header,
html.a11y-high-contrast .cta-banner {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-high-contrast .service-card,
html.a11y-high-contrast .feature-card,
html.a11y-high-contrast .cert-card,
html.a11y-high-contrast .industry-item,
html.a11y-high-contrast .contact-form,
html.a11y-high-contrast .contact-info,
html.a11y-high-contrast .legal-content {
  background: #111 !important;
  border-color: #fff !important;
  color: #fff !important;
}
html.a11y-high-contrast h1,
html.a11y-high-contrast h2,
html.a11y-high-contrast h3,
html.a11y-high-contrast h4,
html.a11y-high-contrast p,
html.a11y-high-contrast li,
html.a11y-high-contrast span,
html.a11y-high-contrast label,
html.a11y-high-contrast .section-subtitle,
html.a11y-high-contrast .section-title {
  color: #fff !important;
}
html.a11y-high-contrast a {
  color: #ffff00 !important;
}
html.a11y-high-contrast .btn-primary {
  background: #ffff00 !important;
  color: #000 !important;
}
html.a11y-high-contrast .btn-outline {
  border-color: #ffff00 !important;
  color: #ffff00 !important;
}
html.a11y-high-contrast .cert-strip {
  background: #111 !important;
}
html.a11y-high-contrast .cert-badge {
  background: #222 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-high-contrast input,
html.a11y-high-contrast select,
html.a11y-high-contrast textarea {
  background: #222 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-high-contrast .footer-bottom {
  border-top-color: #555 !important;
}
html.a11y-high-contrast #a11y-panel {
  background: #111 !important;
  border-color: #fff !important;
}
html.a11y-high-contrast .a11y-panel-header {
  border-bottom-color: #555 !important;
}
html.a11y-high-contrast .a11y-panel-header h3,
html.a11y-high-contrast .a11y-label,
html.a11y-high-contrast .a11y-icon {
  color: #fff !important;
}
html.a11y-high-contrast .a11y-option {
  background: #222 !important;
  border-color: #555 !important;
}
html.a11y-high-contrast .a11y-option.active {
  border-color: #ffff00 !important;
  background: #333 !important;
}
html.a11y-high-contrast .a11y-reset {
  color: #ccc !important;
  border-color: #555 !important;
}

/* Highlight Links */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  outline: 2px solid var(--steel) !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}
html.a11y-highlight-links .btn {
  outline-offset: 4px !important;
}

/* Readable Font */
html.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.5px !important;
}

/* Bigger Cursor */
html.a11y-bigger-cursor,
html.a11y-bigger-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M5 3l12 28 4-12 12-4z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 5 3, auto !important;
}

/* Line Spacing */
html.a11y-line-height body {
  line-height: 2.2 !important;
}
html.a11y-line-height p,
html.a11y-line-height li,
html.a11y-line-height span,
html.a11y-line-height label {
  line-height: 2.2 !important;
}

@media (max-width: 768px) {
  #a11y-widget {
    bottom: 16px;
    right: 16px;
  }
  #a11y-toggle {
    width: 46px;
    height: 46px;
  }
  #a11y-panel {
    width: 240px;
    right: 0;
  }
}
