/* The Compliance Specialists - Clean Professional Design */

/* Intro Screen */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.intro-screen.fade-out {
  opacity: 0;
}

.intro-video {
  max-width: 60%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .intro-video {
    max-width: 80%;
    max-height: 80%;
  }
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1a1a1a;
  color: #ffffff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #F7A800;
  outline-offset: 2px;
}

/* Accessibility: Focus Indicators */
*:focus {
  outline: 2px solid #F7A800;
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 3px solid #F7A800;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #F7A800;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Ensure sufficient color contrast */
a {
  color: #c78600;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 3px solid #F7A800;
  outline-offset: 2px;
  color: #d99100;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c78600;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 16px;
  background: #F7A800;
  border-radius: 6px;
  transition: all 0.2s;
}

.header-phone:hover {
  background: #d99100;
  transform: scale(1.05);
  opacity: 1;
}

.header-phone svg {
  color: #1a1a1a;
}

/* Hide mobile menu phone on desktop */
.header-phone.mobile-menu-phone {
  display: none;
}

@media (max-width: 900px) {
  .header-phone {
    font-size: 14px;
    padding: 8px 12px;
  }
}

.brand video,
.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand video,
  .brand-logo {
    height: 60px;
  }
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav a {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #F7A800;
  opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.phone-text {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .header-right {
    position: relative;
  }

  .header-phone.desktop-phone {
    display: none;
  }

  .header-phone.mobile-visible {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
  }

  .nav a:last-of-type {
    border-bottom: none;
  }

  .nav .lang-btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  /* Mobile menu overlay */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Show phone in mobile menu */
  .header-phone.mobile-menu-phone {
    display: flex;
    width: 100%;
    margin-bottom: 24px;
    padding: 16px;
    justify-content: center;
    border-bottom: 2px solid #F7A800;
  }
}

/* Language Toggle Button */
.lang-btn {
  background: none;
  border: 2px solid #F7A800;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-btn:hover {
  background: #F7A800;
  color: #ffffff;
}

.lang-active {
  color: #d99100;
  font-weight: 700;
}

.lang-inactive {
  color: #666;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #ffffff 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.1s ease-out;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(247, 168, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-subtitle {
  font-size: 48px;
  font-weight: 400;
  color: #666666;
  display: block;
}

.hero-main {
  font-size: 72px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-cta {
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid #F7A800;
  border-radius: 8px;
  transition: all 0.3s;
  animation: fadeInUp 0.6s ease-out;
}

.badge-item:nth-child(1) { animation-delay: 0.1s; }
.badge-item:nth-child(2) { animation-delay: 0.2s; }
.badge-item:nth-child(3) { animation-delay: 0.3s; }
.badge-item:nth-child(4) { animation-delay: 0.4s; }

.badge-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(247, 168, 0, 0.3);
}

.badge-icon {
  width: 24px;
  height: 24px;
  background: #F7A800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .trust-badges {
    gap: 12px;
  }

  .badge-item {
    padding: 10px 16px;
  }

  .badge-text {
    font-size: 13px;
  }

  .hero-cta {
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 32px;
  }

  .hero-main {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-main {
    font-size: 32px;
  }
}

/* Services Section */
.services-section {
  background: #ffffff;
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.service-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 32px;
  border-radius: 8px;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: #F7A800;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.service-card ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.service-card ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #F7A800;
  font-weight: 700;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(247,168,0,0.1)"/></svg>');
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(247, 168, 0, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 168, 0, 0.5);
  box-shadow: 0 12px 32px rgba(247, 168, 0, 0.2);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: #F7A800;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(247, 168, 0, 0.3);
}

.stat-label {
  font-size: 16px;
  color: #e0e0e0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 48px;
  }
}

/* About Section */
.about-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

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

.about-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
}

.about-lead {
  font-size: 20px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 24px;
  font-weight: 500;
}

.about-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 48px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.highlight-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 2px solid #F7A800;
  transition: all 0.3s;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(247, 168, 0, 0.2);
}

.highlight-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.highlight-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about-content h2 {
    font-size: 32px;
  }

  .about-lead {
    font-size: 18px;
  }

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

  .highlight-item {
    padding: 24px;
  }
}

/* CTA Section - Hero Version (Homepage) */
.cta-section-hero {
  background: #F7A800;
  padding: 80px 0;
  text-align: center;
}

.cta-hero-box h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-hero-box p {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 32px;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .cta-hero-box h2 {
    font-size: 32px;
  }

  .cta-hero-box p {
    font-size: 18px;
  }
}

.btn-cta-large {
  display: inline-block;
  background: #ffffff;
  color: #1a1a1a;
  padding: 20px 56px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-cta-large::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(247, 168, 0, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta-large:hover::before {
  width: 300px;
  height: 300px;
}

.btn-cta-large:hover {
  background: #f5f5f5;
  transform: translateY(-2px) scale(1.05);
  opacity: 1;
  box-shadow: 0 8px 24px rgba(247, 168, 0, 0.4);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(247, 168, 0, 0.3);
  }
}

/* CTA Section - Services Page Version */
.cta-section {
  background: #fafafa;
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: #ffffff;
  border: 2px solid #F7A800;
  padding: 60px 40px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 28px;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

.btn-cta {
  display: inline-block;
  background: #F7A800;
  color: #ffffff;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(247, 168, 0, 0.3);
}

.btn-cta:hover {
  background: #d99100;
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(247, 168, 0, 0.4);
}

/* Secondary Button */
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #1a1a1a;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: translateY(-2px);
  opacity: 1;
}

/* Services Overview - Compact Grid */
.services-overview {
  background: #ffffff;
  padding: 80px 0;
}

.services-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .services-grid-compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-item {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 2px solid #e5e5e5;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 168, 0, 0.1), transparent);
  transition: left 0.5s;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  border-color: #F7A800;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(247, 168, 0, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* Footer */
.footer {
  background: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.footer-info p,
.footer-contact p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 8px;
}

.footer-info strong {
  color: #1a1a1a;
  font-size: 16px;
}

.footer-certifications {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(247, 168, 0, 0.1);
  border: 1px solid rgba(247, 168, 0, 0.3);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #c78600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

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

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

.footer-links ul li a {
  color: #666666;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #F7A800;
  opacity: 1;
}

.footer-contact a {
  color: #c78600;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
  font-size: 14px;
  color: #666666;
}

/* Form Styles (for contact page) */
.form-section {
  background: #fafafa;
  padding: 80px 0;
}

.form-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-align: center;
}

.form-section .subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 48px;
}

.form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  color: #1a1a1a;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: #F7A800;
  box-shadow: 0 0 0 3px rgba(247, 168, 0, 0.1);
}

.input::placeholder,
.textarea::placeholder {
  color: #999999;
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.file {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  color: #666666;
  cursor: pointer;
}

.btn-submit {
  background: #F7A800;
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(247, 168, 0, 0.3);
}

.btn-submit:hover {
  background: #d99100;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 168, 0, 0.4);
}

/* About Page */
.about-section {
  background: #fafafa;
  padding: 80px 0;
}

.about-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #4a5568;
}

.about-content p {
  margin-bottom: 24px;
}

/* Utility Classes */
.hidden {
  display: none;
}

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

/* Visually hidden for screen readers but still accessible */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.field-label {
  display: block;
  color: #333333;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.file-label {
  display: block;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-label:hover {
  border-color: #F7A800;
}

.file-label span {
  display: block;
  color: #666666;
  font-size: 15px;
  margin-bottom: 8px;
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 15px;
  color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #F7A800;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkbox-text span {
  margin: 0;
  font-weight: 500;
}

.checkbox-disclaimer {
  display: block;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 4px;
}

/* Form Error Messages */
.error-message {
  display: none;
  color: #dc3545;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 500;
}

.input.error,
.textarea.error,
.select.error {
  border-color: #dc3545;
  outline-color: #dc3545;
}

.input.error:focus,
.textarea.error:focus,
.select.error:focus {
  outline: 3px solid #dc3545;
  outline-offset: 2px;
}

/* Accessibility: Button states */
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:disabled:focus,
input[type="submit"]:disabled:focus {
  outline: none;
}

/* Accessibility: Ensure minimum touch target size */
button,
a,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"] {
  min-height: 44px;
  min-width: 44px;
}

@media (pointer: fine) {
  /* Desktop: allow smaller touch targets */
  button:not(.mobile-menu-toggle),
  a:not(.mobile-menu-phone),
  input[type="submit"],
  input[type="button"] {
    min-height: auto;
    min-width: auto;
  }
}

/* Ensure mobile menu toggle is always accessible */
.mobile-menu-toggle {
  min-height: 44px;
  min-width: 44px;
}

/* Accessibility: Ensure all interactive elements are keyboard accessible */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #F7A800;
  outline-offset: 2px;
}

/* Accessibility: Disabled state styling */
button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Accessibility: Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Accessibility: Footer role - semantic HTML */
/* Footer has contentinfo role for screen readers - role attribute in HTML */

/* Color contrast improvements */
.field-label {
  color: #1a1a1a;
  font-weight: 600;
}

.field-label::after {
  content: '';
}

/* Required field indicator */
.field-label:has(+ *[required])::after,
.field-label:has(+ input[required])::after,
.field-label:has(+ textarea[required])::after {
  content: ' *';
  color: #dc3545;
}

/* Turnstile */
.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Cutoff notice */
.cutoff-notice {
  text-align: center;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #856404;
  font-size: 15px;
  font-weight: 500;
}

.cutoff-notice strong {
  color: #6c5100;
  font-weight: 700;
}

/* Quote number display */
.quote-number {
  text-align: center;
  padding: 12px;
  background: #e3f2fd;
  border: 1px solid #1976d2;
  border-radius: 4px;
  margin-top: 16px;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Page load animations */
body {
  animation: fadeIn 0.3s ease-in;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.service-card,
.service-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.service-card:nth-child(1),
.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2),
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3),
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4),
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5),
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6),
.service-item:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading state for buttons */
.btn-cta:active,
.btn-cta-large:active,
.btn-submit:active {
  transform: scale(0.98);
}

/* Success Page */
.success-section {
  background: #fafafa;
  padding: 80px 0;
  min-height: 60vh;
}

.success-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease-out;
}

.success-icon {
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.success-icon svg {
  animation: scaleIn 0.5s ease-out 0.3s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.success-message-default {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 32px;
}

.success-box h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.success-message {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 32px;
}

.success-info {
  background: #fafafa;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.success-info p {
  margin-bottom: 12px;
  color: #1a1a1a;
}

.success-phone {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #F7A800;
  text-decoration: none;
}

.success-phone:hover {
  color: #d99100;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Quote number display on success page */
.quote-number-display {
  margin-bottom: 32px;
}

.quote-number-text {
  font-size: 48px;
  font-weight: 700;
  color: #F7A800;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.quote-number-message {
  font-size: 16px;
  color: #4a5568;
  margin-top: 12px;
  line-height: 1.5;
}

.standard-rates-notice {
  font-size: 14px;
  color: #6b7280;
  margin-top: 24px;
  font-style: italic;
}

@media (max-width: 768px) {
  .success-box {
    padding: 40px 24px;
  }

  .success-box h1 {
    font-size: 28px;
  }

  .success-message {
    font-size: 16px;
  }

  .success-phone {
    font-size: 20px;
  }

  .quote-number-text {
    font-size: 36px;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
  }

  .success-actions .btn-cta,
  .success-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}
