/* ==============================
   RubenK9Guard – THEME (FINAL OVERRIDE LAYER)
   Version: 20250827
   Place this file LAST in <head> after all other CSS.
   This is the ONLY file for style overrides.
   ============================== */

/* ---------- Reset / base ---------- */
:root {
  --bg-dark: #0b0b0b;
  --bg-charcoal: #1a1a1a;
  --text: #ffffff;
  --muted: #cfd3d8;
  --accent: #bfc4ca;
  /* iridescent silver */
  --fb-blue: #1877F2;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FUNDAL UNITAR GLOBAL - UN SINGUR OVERLAY PENTRU TOT SITE-UL */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* Gradient subtil pentru scoping - nu interferează cu textura */
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      /* Top - textura foarte subtilă */
      transparent 15%,
      /* Zona video - fără interferență */
      transparent 85%,
      /* Mijloc - textura vizibilă */
      rgba(0, 0, 0, 0.1) 100%
      /* Footer - textura ușor estompată */
    ),
    /* Textura de bază - păstrează tonurile gri */
    url("../images/background.webp?v=20250815") repeat;
  background-blend-mode: normal, normal;
  opacity: 0.09 !important;
  /* Opacitate redusă pentru lizibilitate */
  pointer-events: none;
  z-index: -999;
  /* Sub orice alt element */
}

/* ---------- SMOOTH SCROLL & SCROLL OFFSET (FINAL) ---------- */
html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 120px !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* ---------- TRANSPARENT SECTIONS (FINAL) ---------- */
.contact-intro-section {
  background: transparent !important;
  padding: 80px 0 !important;
}

.industries-section {
  background: transparent !important;
  padding: 60px 0 10px 0 !important;
  position: relative !important;
}

.industries-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(191, 196, 202, 0.2) 50%, transparent 100%);
}

/* ---------- CTA BAND WITH VISUAL TRANSITION (FINAL) ---------- */
.cta-band-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 17, 19, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%) !important;
  padding: 20px 0 15px 0 !important;
  position: relative !important;
}

.cta-band-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(191, 196, 202, 0.4) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(191, 196, 202, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(191, 196, 202, 0.2);
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center
}

.hide {
  display: none !important
}

/* ---------- HERO SECTION (FINAL) ---------- */
.hero,
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 20px 20px 20px;
  text-align: center;
}

.hero-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 auto 20px auto;
  max-width: 900px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0 auto 32px auto;
  max-width: 700px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Desktop hero CTA buttons - horizontal layout */
@media (min-width: 769px) {
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 24px auto 0 auto !important;
    width: 100% !important;
    max-width: 600px !important;
    position: relative !important;
    z-index: 60 !important;
  }
}

/* Default hero CTA styles */
.hero-ctas {
  display: flex !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 24px auto 0 auto !important;
  width: 100% !important;
  max-width: 600px !important;
  position: relative !important;
  z-index: 60 !important;
}

/* ---------- SPACING SCALE (FINAL AUTHORITY) ---------- */
section {
  padding: 60px 0 !important;
  margin: 0 !important;
}

/* ---------- ABOUT SECTION (FINAL) ---------- */
.about-section {
  padding: 60px 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.about-section .section-title {
  margin-bottom: 40px !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

/* ---------- SECTION TITLES SPACING (FINAL) ---------- */
.section-title {
  margin-bottom: 40px !important;
  margin-top: 0 !important;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  text-align: center;
  margin-bottom: 32px;
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cccccc;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.stat-block {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%);
  border: 2px solid rgba(191, 196, 202, 0.25);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
}

.stat-block:hover {
  border-color: rgba(191, 196, 202, 0.4);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.95rem;
  color: #bfc4ca;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Fix pentru animațiile care ascund chenarele - FORȚEAZĂ VIZIBILITATEA */
.about-stats .stat-block {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.stat-block.reveal.in-view {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.about-stats.reveal.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---------- SERVICES SECTION (FINAL) ---------- */
.services-section {
  background: transparent !important;
  padding: 80px 0 !important;
}

/* ---------- PROFESSIONAL GRID SYSTEM (FINAL) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- CONTACT SERVICE CARD STYLING (FINAL) ---------- */
.contact-service-card .service-image {
  background: linear-gradient(135deg, #1877F2 0%, #0d5aa7 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.contact-service-icon {
  color: #ffffff !important;
  width: 120px !important;
  height: 120px !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.contact-service-btn {
  margin-top: auto !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  border: 2px solid #bfc4ca !important;
  cursor: pointer !important;
  width: 100% !important;
}

.contact-service-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  color: #0b0b0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(191, 196, 202, 0.4) !important;
}

.contact-service-card:hover .service-image {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%) !important;
}

.contact-service-card:hover .contact-service-icon {
  transform: scale(1.08) !important;
  transition: transform 0.4s ease !important;
}

/* ---------- CONTACT FORM SECTION (FINAL) ---------- */
.contact-form-section {
  background: transparent !important;
  padding: 80px 0 !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro-column {
  padding-right: 40px;
  position: relative;
}

.contact-intro-column::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(191, 196, 202, 0.3) 20%, rgba(191, 196, 202, 0.3) 80%, transparent 100%);
}

.contact-intro-title {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 24px !important;
  font-family: 'Orbitron', sans-serif !important;
  line-height: 1.2 !important;
}

.contact-intro-content p {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #cccccc !important;
  margin: 0 !important;
}

/* ---------- CONTACT FORM CARD STYLING (FINAL) ---------- */
.contact-form-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%) !important;
  border: 2px solid rgba(158, 163, 168, 0.25) !important;
  border-radius: 20px !important;
  padding: 32px !important;
}

.contact-form-card:hover {
  border-color: rgba(191, 196, 202, 0.4) !important;
}

.contact-form-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 24px !important;
  font-family: 'Orbitron', sans-serif !important;
  text-align: center !important;
}

/* ---------- FORM INPUTS STYLING (FINAL) ---------- */
.form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}

.form-field {
  margin-bottom: 16px !important;
}

.form-label {
  display: block !important;
  font-size: 0.9rem !important;
  color: #bfc4ca !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
}

.form-input,
.form-select,
.form-textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(191, 196, 202, 0.2) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none !important;
  border-color: rgba(191, 196, 202, 0.5) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(191, 196, 202, 0.1) !important;
}

.form-textarea {
  resize: vertical !important;
  min-height: 100px !important;
}

/* ---------- CONTACT SUBMIT BUTTON (FINAL) ---------- */
.contact-submit-btn {
  width: 100% !important;
  padding: 16px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  border: 2px solid #bfc4ca !important;
  cursor: pointer !important;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  color: #0b0b0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(191, 196, 202, 0.4) !important;
}

/* ---------- SECONDARY CTA BUTTON (FINAL) ---------- */
.cta-button-secondary {
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: transparent !important;
  color: #bfc4ca !important;
  border: 2px solid rgba(191, 196, 202, 0.4) !important;
  cursor: pointer !important;
}

.cta-button-secondary:hover {
  background: rgba(191, 196, 202, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(191, 196, 202, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(191, 196, 202, 0.2) !important;
}

/* ---------- UNIFORM SERVICE CARDS (FINAL) ---------- */
.service-card {
  height: 100%;
  padding: 32px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%);
  border: 2px solid rgba(158, 163, 168, 0.25);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-card:hover {
  border-color: rgba(191, 196, 202, 0.4);
}

/* ---------- CONSISTENT 16:9 LANDSCAPE IMAGES (FINAL) ---------- */
.service-image {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  margin-bottom: 24px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #0F1113 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.3s ease !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure picture element doesn't interfere */
.service-image picture {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* Error handling for broken images */
.service-image img {
  position: relative !important;
}

.service-image img::after {
  content: "Image: " attr(alt) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%) !important;
  color: #666666 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  padding: 20px !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.service-image img[src=""],
.service-image img:not([src]),
.service-image img[src*="404"] {
  opacity: 0 !important;
}

.service-image img[src=""]:after,
.service-image img:not([src]):after,
.service-image img[src*="404"]:after {
  opacity: 1 !important;
}

.service-card:hover .service-image img {
  transform: scale(1.05) !important;
}

/* ---------- CONSISTENT TYPOGRAPHY (FINAL) ---------- */
.service-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  line-height: 1.3 !important;
  min-height: 3.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-description {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #cccccc !important;
  flex-grow: 1 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* ---------- CTA BUTTONS (FINAL) ---------- */
.cta-button {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%);
  color: #0b0b0b;
  border: 2px solid #bfc4ca;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%);
  color: #0b0b0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(191, 196, 202, 0.4);
}

/* ---------- SECTION TITLES (FINAL) ---------- */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* ---------- CONTACT INTRO SECTION (FINAL) ---------- */
.contact-intro-section {
  padding: 40px 0;
  margin-top: -15px;
  background: #0F1113;
}

/* ---------- INDUSTRIES SECTION (FINAL) ---------- */
.industries-section {
  padding: 40px 0;
  background: transparent;
}

.industries-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.industry-pill {
  padding: 10px 20px;
  background: rgba(191, 196, 202, 0.1);
  border: 1px solid rgba(191, 196, 202, 0.3);
  border-radius: 25px;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.industry-pill:hover {
  background: rgba(191, 196, 202, 0.2);
  transform: translateY(-2px);
}

/* CTA BAND SECTION OVERRIDE - HANDLED ABOVE */

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cta-text {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
}

/* ---------- FOOTER TRANSPARENT - MOȘTENEȘTE FUNDALUL GLOBAL ---------- */
.site-footer {
  padding: 32px 0 !important;
  background: transparent !important;
  /* Moștenește fundalul global */
  position: relative !important;
}

/* ELIMINAT - footerul folosește fundalul global unitar */

.footer-line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.footer-logo {
  height: 40px !important;
  width: auto !important;
}

.footer-center {
  flex-grow: 1 !important;
  text-align: center !important;
}

.footer-copyright {
  color: #cccccc !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

.footer-contact {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  font-size: 0.9rem !important;
  color: #cccccc !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

.footer-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #cccccc !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

.footer-contact-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px) !important;
}

.footer-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3) !important;
  font-weight: 300 !important;
}

/* Footer icon specific colors */
.footer-contact-item:nth-child(1) .footer-icon {
  color: #34A853 !important;
  /* Phone - Green */
}

.footer-contact-item:nth-child(3) .footer-icon {
  color: #EA4335 !important;
  /* Email - Red */
}

.footer-contact-item:nth-child(5) .footer-icon {
  color: #25D366 !important;
  /* WhatsApp - Green */
}

.footer-contact-item:nth-child(7) .footer-icon {
  color: #1877F2 !important;
  /* Facebook - Blue */
}

/* ---------- JOIN US PAGE STYLING (FINAL) ---------- */
/* Join Us page uses hero section instead of page title */

/* ---------- APPLICATION SECTION LAYOUT (FINAL) ---------- */
.application-section {
  background: transparent !important;
  padding: 40px 0 60px 0 !important;
}

.application-section .page-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.application-section .page-subtitle {
  font-size: 1.2rem !important;
  color: #cccccc !important;
  text-align: center !important;
  margin: 0 auto 40px auto !important;
  max-width: 700px !important;
  line-height: 1.5 !important;
}

.application-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  align-items: start !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.requirements-column {
  padding-right: 20px !important;
}

.requirements-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif !important;
  margin-bottom: 24px !important;
}

.join-intro-content {
  margin-bottom: 40px !important;
}

.join-intro-content p {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #cccccc !important;
  margin: 0 !important;
}

.requirements-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.requirements-list li {
  font-size: 1rem !important;
  color: #cccccc !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
  position: relative !important;
  padding-left: 24px !important;
}

.requirements-list li::before {
  content: '✓' !important;
  color: #bfc4ca !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

.form-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%) !important;
  border: 2px solid rgba(158, 163, 168, 0.25) !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
}

.form-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
  border-color: rgba(191, 196, 202, 0.4) !important;
}

.form-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif !important;
  text-align: center !important;
  margin-bottom: 32px !important;
}

.application-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
}

.application-form .form-field {
  margin-bottom: 20px !important;
}

.application-form .form-label {
  display: block !important;
  font-size: 0.9rem !important;
  color: #bfc4ca !important;
  margin-bottom: 8px !important;
  font-weight: 500 !important;
}

.application-form .form-input,
.application-form .form-textarea {
  width: 100% !important;
  padding: 14px 16px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(191, 196, 202, 0.2) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.application-form .form-input:focus,
.application-form .form-textarea:focus {
  outline: none !important;
  border-color: rgba(191, 196, 202, 0.5) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(191, 196, 202, 0.1) !important;
}

.application-form .form-textarea {
  resize: vertical !important;
  min-height: 120px !important;
}

.apply-button {
  width: 100% !important;
  padding: 18px 32px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  border: 2px solid #bfc4ca !important;
  cursor: pointer !important;
  margin-top: 20px !important;
}

.apply-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  color: #0b0b0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(191, 196, 202, 0.4) !important;
}

/* Hero section styles - only for homepage now */

/* ---------- COMPACT MODE FOR JOIN-US AND GALLERY PAGES ---------- */
body.join-us .header-container,
body.gallery .header-container {
  min-height: auto !important;
}

body.join-us .hero,
body.join-us .hero-section,
body.join-us .page-hero,
body.gallery .hero,
body.gallery .hero-section,
body.gallery .page-hero {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure no hero-related spacing on these pages */
body.join-us .header-container,
body.gallery .header-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Override any topbar-hero.css styles */
body.join-us .header-container,
body.gallery .header-container {
  min-height: auto !important;
  height: auto !important;
}

/* Mobile responsive for Join Us page */
@media (max-width: 768px) {

  .application-section {
    padding: 30px 0 40px 0 !important;
  }

  .application-section .page-title {
    font-size: 2rem !important;
  }

  .application-section .page-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 30px !important;
  }

  .application-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .requirements-column {
    padding-right: 0 !important;
    order: 1 !important;
  }

  .form-column {
    order: 2 !important;
  }

  .requirements-title {
    font-size: 1.8rem !important;
  }

  .form-card {
    padding: 30px 20px !important;
  }

  .application-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .apply-button {
    padding: 16px 24px !important;
    font-size: 1rem !important;
  }
}

/* ---------- UNIFIED SOCIAL ICONS STYLING (FINAL) ---------- */
.ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.ico svg {
  fill: currentColor !important;
  width: 18px !important;
  height: 18px !important;
}

.ico--fb {
  color: #1877F2 !important;
  background: rgba(24, 119, 242, 0.1) !important;
}

.ico--fb:hover {
  color: #1877F2 !important;
  background: rgba(24, 119, 242, 0.2) !important;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.3) !important;
  transform: translateY(-1px) !important;
}

.ico--whatsapp {
  color: #25D366 !important;
  background: rgba(37, 211, 102, 0.1) !important;
}

.ico--whatsapp:hover {
  color: #25D366 !important;
  background: rgba(37, 211, 102, 0.2) !important;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.3) !important;
  transform: translateY(-1px) !important;
}

.ico--mail {
  color: #EA4335 !important;
  background: rgba(234, 67, 53, 0.1) !important;
}

.ico--mail:hover {
  color: #EA4335 !important;
  background: rgba(234, 67, 53, 0.2) !important;
  box-shadow: 0 0 10px rgba(234, 67, 53, 0.3) !important;
  transform: translateY(-1px) !important;
}

.ico--phone {
  color: #34A853 !important;
  background: rgba(52, 168, 83, 0.1) !important;
}

.ico--phone:hover {
  color: #34A853 !important;
  background: rgba(52, 168, 83, 0.2) !important;
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* ---------- NAVIGATION ACTIVE STATE (FINAL) ---------- */
.nav-menu a.active,
.nav-menu a[aria-current="page"] {
  color: #bfc4ca !important;
  font-weight: 600 !important;
  position: relative !important;
}

.nav-menu a.active::after,
.nav-menu a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #bfc4ca 50%, transparent 100%);
}

/* ---------- COOKIE CONSENT BANNER STYLING (FINAL) ---------- */
.cookie-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  background: linear-gradient(135deg, var(--bg-charcoal) 0%, rgba(26, 26, 26, 0.98) 100%) !important;
  border-top: 2px solid rgba(191, 196, 202, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(100%) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 0 !important;
  /* Ensure it doesn't interfere with page scrolling */
  pointer-events: auto !important;
  /* Prevent layout shift */
  will-change: transform !important;
  /* Force hardware acceleration for better mobile performance */
  -webkit-transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

.cookie-banner.show {
  transform: translateY(0) translateZ(0) !important;
  -webkit-transform: translateY(0) translateZ(0) !important;
  opacity: 1 !important;
}

/* Ensure body can still scroll when banner is shown */
body:has(.cookie-banner.show) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Override any overflow hidden that might affect banner positioning */
@media (max-width: 768px) {
  html:has(.cookie-banner),
  body:has(.cookie-banner) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

.cookie-banner-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  flex-wrap: wrap !important;
}

.cookie-banner-text {
  flex: 1 !important;
  min-width: 300px !important;
}

.cookie-banner-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 0 8px 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.cookie-banner-description {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

.cookie-policy-link {
  color: var(--accent) !important;
  text-decoration: underline !important;
  transition: all 0.3s ease !important;
}

.cookie-policy-link:hover {
  color: var(--text) !important;
  text-shadow: 0 0 8px rgba(191, 196, 202, 0.4) !important;
}

.cookie-banner-buttons {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.cookie-btn {
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-family: inherit !important;
  white-space: nowrap !important;
}

/* Desktop: show full text, hide short text */
.cookie-btn .btn-text-full {
  display: inline !important;
}

.cookie-btn .btn-text-short {
  display: none !important;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--accent) 0%, #9ea3a8 100%) !important;
  color: var(--bg-dark) !important;
  border: 2px solid var(--accent) !important;
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(191, 196, 202, 0.4) !important;
}

.cookie-btn-reject {
  background: transparent !important;
  color: var(--muted) !important;
  border: 2px solid rgba(191, 196, 202, 0.4) !important;
}

.cookie-btn-reject:hover {
  background: rgba(191, 196, 202, 0.1) !important;
  color: var(--text) !important;
  border-color: rgba(191, 196, 202, 0.6) !important;
  transform: translateY(-2px) !important;
}

.cookie-btn-settings {
  background: rgba(0, 0, 0, 0.3) !important;
  color: var(--accent) !important;
  border: 2px solid rgba(191, 196, 202, 0.2) !important;
}

.cookie-btn-settings:hover {
  background: rgba(0, 0, 0, 0.5) !important;
  color: var(--text) !important;
  border-color: rgba(191, 196, 202, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* ---------- COOKIE SETTINGS MODAL STYLING (FINAL) ---------- */
.cookie-settings-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10001 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
}

.cookie-settings-modal.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.cookie-settings-content {
  background: linear-gradient(135deg, var(--bg-charcoal) 0%, #1f2023 100%) !important;
  border: 2px solid rgba(191, 196, 202, 0.3) !important;
  border-radius: 20px !important;
  max-width: 600px !important;
  width: 100% !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
  transform: scale(0.9) translateY(20px) !important;
  transition: all 0.3s ease !important;
}

.cookie-settings-modal.show .cookie-settings-content {
  transform: scale(1) translateY(0) !important;
}

.cookie-settings-header {
  padding: 24px 24px 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(191, 196, 202, 0.2) !important;
  margin-bottom: 24px !important;
}

.cookie-settings-title {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.cookie-settings-close {
  background: none !important;
  border: none !important;
  color: var(--muted) !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cookie-settings-close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text) !important;
}

.cookie-settings-body {
  padding: 0 24px !important;
}

.cookie-category {
  margin-bottom: 24px !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(191, 196, 202, 0.1) !important;
}

.cookie-category-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.cookie-category-header h4 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.cookie-toggle {
  position: relative !important;
  display: inline-block !important;
  width: 50px !important;
  height: 24px !important;
}

.cookie-toggle input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.cookie-toggle-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(191, 196, 202, 0.3) !important;
  transition: 0.3s !important;
  border-radius: 24px !important;
}

.cookie-toggle-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 18px !important;
  width: 18px !important;
  left: 3px !important;
  bottom: 3px !important;
  background: var(--text) !important;
  transition: 0.3s !important;
  border-radius: 50% !important;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent) !important;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px) !important;
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--accent) !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.cookie-category-description {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

.cookie-settings-footer {
  padding: 24px !important;
  border-top: 1px solid rgba(191, 196, 202, 0.2) !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: flex-end !important;
}

.cookie-btn-secondary {
  background: transparent !important;
  color: var(--accent) !important;
  border: 2px solid rgba(191, 196, 202, 0.4) !important;
}

.cookie-btn-secondary:hover {
  background: rgba(191, 196, 202, 0.1) !important;
  color: var(--text) !important;
  border-color: rgba(191, 196, 202, 0.6) !important;
}

/* Mobile responsive for cookie consent */
@media (max-width: 768px) {
  .cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    /* Force sticky behavior on mobile */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    /* Ensure it doesn't block scrolling */
    pointer-events: auto !important;
    /* Mobile viewport fix */
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  .cookie-banner-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 16px !important;
  }
  
  .cookie-banner-text {
    min-width: auto !important;
    text-align: center !important;
  }
  
  .cookie-banner-title {
    font-size: 1.1rem !important;
  }
  
  .cookie-banner-description {
    font-size: 0.85rem !important;
  }
  
  .cookie-banner-buttons {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  
  .cookie-btn {
    width: 100% !important;
    flex: none !important;
    min-width: auto !important;
    font-size: 0.8rem !important;
    padding: 10px 16px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  
  /* Show short text on mobile */
  .cookie-btn .btn-text-full {
    display: none !important;
  }
  
  .cookie-btn .btn-text-short {
    display: inline !important;
  }
  
  .cookie-settings-content {
    margin: 10px !important;
    max-height: 90vh !important;
  }
  
  .cookie-settings-footer {
    flex-direction: column !important;
  }
  
  .cookie-settings-footer .cookie-btn {
    width: 100% !important;
  }
}

/* Extra small screens - further optimize text */
@media (max-width: 480px) {
  .cookie-banner-content {
    padding: 12px !important;
    gap: 12px !important;
  }
  
  .cookie-banner-title {
    font-size: 1rem !important;
  }
  
  .cookie-banner-description {
    font-size: 0.8rem !important;
  }
  
  .cookie-btn {
    font-size: 0.75rem !important;
    padding: 8px 12px !important;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .cookie-banner {
    position: -webkit-sticky !important;
    position: sticky !important;
    bottom: 0 !important;
    /* Fallback for older iOS versions */
    position: fixed !important;
  }
}

/* Force banner to stay at bottom on all mobile devices */
@media (max-width: 768px) {
  /* Ensure banner container is not affected by parent overflow */
  body:has(.cookie-banner) {
    position: relative !important;
  }
  
  .cookie-banner {
    /* Force position fixed with high specificity */
    position: fixed !important;
    bottom: 0px !important;
    left: 0px !important;
    right: 0px !important;
    /* Ensure it's above everything */
    z-index: 999999 !important;
    /* Force it to stay in place */
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }
  
  .cookie-banner.show {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

/* ---------- JOIN US BUTTON STYLING (FINAL) ---------- */
.nav-menu a[href="join-us.html"] {
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.nav-menu a[href="join-us.html"]:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(191, 196, 202, 0.3) !important;
}

/* Override active state styling for Join Us button */
.nav-menu a[href="join-us.html"].active,
.nav-menu a[href="join-us.html"][aria-current="page"] {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  color: #0b0b0b !important;
  font-weight: 600 !important;
}

.nav-menu a[href="join-us.html"].active::after,
.nav-menu a[href="join-us.html"][aria-current="page"]::after {
  display: none !important;
}

/* ---------- FORM FEEDBACK MESSAGES (FINAL) ---------- */
.form-message {
  padding: 16px 20px !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  margin: 16px 0 !important;
  text-align: center !important;
  transition: all 0.3s ease-in-out !important;
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  display: none !important;
  position: relative !important;
  z-index: 10 !important;
}

.form-message.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: block !important;
}

.form-message.success {
  background: rgba(40, 167, 69, 0.1) !important;
  border: 2px solid rgba(40, 167, 69, 0.3) !important;
  color: #28a745 !important;
}

.form-message.success::before {
  content: '✓' !important;
  display: inline-block !important;
  margin-right: 8px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1) !important;
  border: 2px solid rgba(220, 53, 69, 0.3) !important;
  color: #dc3545 !important;
}

.form-message.error::before {
  content: '⚠' !important;
  display: inline-block !important;
  margin-right: 8px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
}

.form-message.fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: all 0.5s ease-in-out !important;
}

/* Form field error styling */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: rgba(220, 53, 69, 0.5) !important;
  background: rgba(220, 53, 69, 0.05) !important;
}

.field-error {
  color: #dc3545 !important;
  font-size: 0.875rem !important;
  margin-top: 4px !important;
  display: block !important;
}

/* Loading state for submit button */
.contact-submit-btn.loading {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  position: relative !important;
}

.contact-submit-btn.loading::after {
  content: '' !important;
  position: absolute !important;
  width: 16px !important;
  height: 16px !important;
  margin: auto !important;
  border: 2px solid transparent !important;
  border-top-color: #0b0b0b !important;
  border-radius: 50% !important;
  animation: spin 1s linear infinite !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments for form messages */
@media (max-width: 768px) {
  .form-message {
    font-size: 0.9rem !important;
    padding: 14px 16px !important;
    margin: 12px 0 !important;
  }

  .form-message.success::before,
  .form-message.error::before {
    font-size: 1rem !important;
    margin-right: 6px !important;
  }
}

@media (max-width: 480px) {
  .form-message {
    font-size: 0.85rem !important;
    padding: 12px 14px !important;
    margin: 10px 0 !important;
  }
}

/* ---------- TOPBAR ICON REFINEMENTS (FINAL) ---------- */
.topbar .ico {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #bfc4ca !important;
  transition: all 0.3s ease !important;
}

.topbar .ico:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

.topbar .ico--fb {
  color: #1877F2 !important;
  background: rgba(24, 119, 242, 0.1) !important;
}

.topbar .ico--fb:hover {
  color: #1877F2 !important;
  background: rgba(24, 119, 242, 0.2) !important;
  transform: translateY(-1px) scale(1.05) !important;
  box-shadow: 0 0 8px rgba(24, 119, 242, 0.3) !important;
}

.topbar .ico--whatsapp {
  color: #25D366 !important;
  background: rgba(37, 211, 102, 0.1) !important;
}

.topbar .ico--whatsapp:hover {
  color: #25D366 !important;
  background: rgba(37, 211, 102, 0.2) !important;
  transform: translateY(-1px) scale(1.05) !important;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.3) !important;
}

.topbar .ico--mail {
  color: #bfc4ca !important;
}

.topbar .ico--mail:hover {
  color: #EA4335 !important;
  background: rgba(234, 67, 53, 0.1) !important;
}

.topbar .ico--phone {
  color: #bfc4ca !important;
}

.topbar .ico--phone:hover {
  color: #34A853 !important;
  background: rgba(52, 168, 83, 0.1) !important;
}

.site-footer small,
.footer-note {
  display: block;
  margin-top: 8px;
  color: #d7dbe0
}

/* ---------- MOBILE NAVIGATION (FINAL) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1000;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ---------- RESPONSIVE (FINAL) ---------- */
/* ---------- TABLET RESPONSIVE (768px - 1199px) ---------- */
@media (max-width: 1199px) and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
    max-width: 800px !important;
  }

  .service-card {
    padding: 28px !important;
  }

  .service-title {
    font-size: 1.3rem !important;
    min-height: 3.2rem !important;
  }

  .service-description {
    font-size: 0.95rem !important;
  }

  /* Contact service card spans full width on tablet when it's the 7th card */
  .contact-service-card {
    grid-column: 1 / -1 !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  /* TABLET CONTACT FORM */
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }

  .contact-intro-column {
    padding-right: 0 !important;
    text-align: center !important;
  }

  .contact-intro-column::after {
    display: none !important;
  }

  .contact-form-card {
    max-width: 500px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 1024px) {
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 500px;
  }

  .stat-number {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {

  /* MOBILE PERFORMANCE OPTIMIZATIONS */
  /* Disable complex animations on mobile for better performance */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Keep only essential fade animations */
  .reveal,
  .service-card,
  .stat-block {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }

  /* Disable hover effects on mobile */
  .service-card:hover,
  .stat-block:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  }

  /* MOBILE SPACING SCALE */
  section {
    padding: 40px 0 !important;
  }

  .section-title {
    margin-bottom: 30px !important;
    font-size: 2rem !important;
  }

  .about-section {
    padding: 40px 0 !important;
  }

  .about-content p {
    max-width: 350px !important;
    font-size: 1rem !important;
    padding: 0 16px !important;
  }

  .services-section {
    padding: 50px 0 !important;
  }

  .hero {
    min-height: 100vh !important; /* Full viewport height */
    padding: 15vh 15px 10vh 15px !important; /* Start content 15% from top, 10% at bottom */
    display: flex !important;
    align-items: flex-start !important; /* Move content to top instead of center */
    justify-content: center !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-sub {
    font-size: 1.1rem;
    margin-bottom: 20px !important; /* Reduced from 30px */
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px; /* Consistent with mobile styles */
  }

  .cta-button {
    width: auto !important;
    max-width: none !important;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    white-space: nowrap !important;
  }

  /* MOBILE SERVICES GRID */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 400px !important;
  }

  .service-card {
    padding: 24px !important;
  }

  .service-title {
    font-size: 1.2rem !important;
    min-height: auto !important;
  }

  .service-description {
    font-size: 0.9rem !important;
  }

  /* MOBILE CTA AND FOOTER */
  .cta-band-section {
    padding: 10px 0 8px 0 !important;
  }

  .cta-text {
    font-size: 1.4rem !important;
    margin-bottom: 16px !important;
  }

  .cta-button-secondary {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }

  .industries-section {
    padding: 40px 0 5px 0 !important;
  }

  .industries-section::after {
    width: 60px !important;
  }

  /* MOBILE CONTACT FORM */
  .contact-form-section {
    padding: 50px 0 !important;
  }

  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .contact-intro-column {
    padding-right: 0 !important;
    text-align: center !important;
  }

  .contact-intro-column::after {
    display: none !important;
  }

  .contact-intro-title {
    font-size: 1.8rem !important;
  }

  .contact-form-card {
    padding: 24px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* MOBILE SCROLL OFFSET */
  html {
    scroll-padding-top: 80px !important;
  }

  .cta-text {
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
  }

  .site-footer {
    padding: 24px 0 !important;
  }

  .footer-line {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .footer-contact {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .footer-contact-item {
    justify-content: center !important;
  }

  .footer-separator {
    display: none !important;
  }



  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }

  .stat-block {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 15px;
  }

  .service-card {
    min-height: 450px;
    padding: 24px;
  }

  .service-image {
    aspect-ratio: 16/9 !important;
    background: #0F1113 !important;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 120px;
    transition: right 0.2s ease;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 16px 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 200px;
    text-align: center;
  }

  .nav-menu a:hover {
    background: rgba(191, 196, 202, 0.1);
    color: var(--accent);
  }
}

@media (max-width: 480px) {
  .service-card {
    min-height: 420px;
    padding: 20px;
  }

  .service-image {
    aspect-ratio: 16/9 !important;
  }

  .service-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }
}

/* ---------- MISC ---------- */
svg,
.icon {
  vertical-align: middle
}

/* ---------- GDPR CONSENT STYLING (FINAL) ---------- */
.gdpr-consent-field {
  margin: 20px 0 !important;
  padding: 16px !important;
  background: rgba(191, 196, 202, 0.05) !important;
  border: 1px solid rgba(191, 196, 202, 0.2) !important;
  border-radius: 8px !important;
}

.gdpr-consent-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.gdpr-consent-checkbox {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  accent-color: #bfc4ca !important;
  cursor: pointer !important;
}

.gdpr-consent-text {
  color: #cccccc !important;
  flex: 1 !important;
}

.privacy-link {
  color: #bfc4ca !important;
  text-decoration: underline !important;
  transition: color 0.3s ease !important;
}

.privacy-link:hover {
  color: #ffffff !important;
}

.privacy-footer-link {
  color: #bfc4ca !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.privacy-footer-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* GDPR Error State */
.gdpr-consent-field.error {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.1) !important;
}

.gdpr-consent-field.error .gdpr-consent-text {
  color: #ff6b6b !important;
}

/* ========== END OF THEME.CSS - NO MORE OVERRIDES NEEDED ========== */

/* ---------- HERO FULL-BLEED REGION (FINAL) ---------- */
/* Kill any padding/border/radius around the video */
.hero,
.hero-inner,
.hero-media,
.hero-frame,
.header-container {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Make the hero a true full-bleed region */
.header-container {
  position: relative !important;
  width: 100vw !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

/* Disable global .container limits inside the hero */
.hero .container,
.header-container .container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Video must cover entire viewport - DEFINITIVE FIX */
.video-background {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100vw !important;
  min-height: 100vh !important;
}

/* Mobile/tablet height adjustment */
@media (max-width: 768px) {
  .header-container {
    min-height: 70vh !important;
  }
}

/* 
FORCE REMOVE ALL RESTRICTIONS FOR VIDEO FULLSCREEN */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden !important;
}

/* Ensure no parent elements restrict video */
* {
  box-sizing: border-box !important;
}

/* Override any max-width restrictions globally for video container */
.header-container,
.header-container *,
.video-background {
  max-width: none !important;
  max-height: none !important;
}

/* Force video to ignore all container constraints */
.video-background {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
}

/* ---------- VIDEO DOAR ÎN HEADER - SOLUȚIE PRECISĂ ---------- */
/* Video-ul va fi DOAR în header, nu pe tot site-ul */

/* Header container - FIXED */
.header-container {
  position: relative !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Video DOAR în header container - ACOPERĂ COMPLET FĂRĂ DUNGĂ */
.header-container .video-background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 110% !important;
  /* Mai înalt pentru a acoperi dunga */
  min-width: 100% !important;
  min-height: 110% !important;
  object-fit: cover !important;
  object-position: center top !important;
  /* Poziționat sus pentru a acoperi */
  z-index: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  transform: scale(1.1) !important;
  /* Scalare mai mare */
}

/* Body normal - păstrează background-ul original */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* Restabilește background-ul original pentru body */
body {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%) !important;
  color: var(--text) !important;
}

/* Texture overlay handled by main body::before declaration above */

/* FORȚEAZĂ BACKGROUND-UL ORIGINAL - PRIORITATE MAXIMĂ */
html body {
  background: linear-gradient(180deg, #0b0b0b 0%, #1a1a1a 100%) !important;
  background-attachment: fixed !important;
}

/* ELIMINAT - folosim doar overlay-ul principal de mai sus */
/* ----
------ FUNDAL UNITAR GLOBAL - TOATE SECȚIUNILE TRANSPARENTE ---------- */

/* Toate secțiunile moștenesc fundalul global */
section,
.about-section,
.services-section,
.contact-form-section,
.contact-intro-section,
.industries-section,
.cta-band-section,
.application-section,
.gallery-section {
  background: transparent !important;
}

/* Eliminăm orice benzi decorative între secțiuni */
.industries-section::after,
.cta-band-section::before {
  display: none !important;
}

/* Header container fără interferențe cu fundalul global */
.header-container {
  background: transparent !important;
}

/* Asigurăm tranziție lină de la video la fundal */
.header-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, rgba(11, 11, 11, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- GOOGLE BUSINESS PROFILE INTEGRATION (FINAL) ---------- */
.google-profile-link {
  position: relative !important;
}

.google-icon {
  color: #4285F4 !important;
  /* Google brand blue */
}

.google-profile-link:hover .google-icon {
  color: #4285F4 !important;
  transform: scale(1.1) !important;
  transition: all 0.3s ease !important;
}

.google-profile-link:hover {
  background: rgba(66, 133, 244, 0.1) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Google icon specific styling to override footer icon colors */
.footer-contact-item.google-profile-link .footer-icon {
  color: #4285F4 !important;
}

.footer-contact-item.google-profile-link:hover .footer-icon {
  color: #4285F4 !important;
  transform: scale(1.1) !important;
}

/* ---------- GOOGLE REVIEWS WIDGET STYLING (FINAL) ---------- */
.google-reviews-widget {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%) !important;
  border: 2px solid rgba(191, 196, 202, 0.25) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-top: 32px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.google-reviews-widget:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(191, 196, 202, 0.4) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}

.reviews-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif !important;
  text-align: center !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.reviews-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.review-item {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(191, 196, 202, 0.2) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
}

.review-item:hover {
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(191, 196, 202, 0.3) !important;
}

.review-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.reviewer-name {
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
}

.star-rating {
  display: flex !important;
  gap: 2px !important;
}

.star {
  color: #FFD700 !important;
  font-size: 14px !important;
}

.review-text {
  color: #cccccc !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  font-style: italic !important;
}

.view-all-reviews {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  background: linear-gradient(135deg, #4285F4 0%, #1a73e8 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 16px !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  text-align: center !important;
}

.view-all-reviews:hover {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3) !important;
}

/* Loading and error states */
.reviews-loading {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px !important;
  color: #cccccc !important;
  font-style: italic !important;
}

.reviews-error {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  color: #ff6b6b !important;
  font-size: 0.9rem !important;
  text-align: center !important;
}

.reviews-fallback {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px !important;
  text-align: center !important;
}

.reviews-fallback p {
  color: #cccccc !important;
  margin-bottom: 16px !important;
  font-size: 0.95rem !important;
}

.reviews-fallback a {
  color: #4285F4 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border: 1px solid #4285F4 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.reviews-fallback a:hover {
  background: rgba(66, 133, 244, 0.1) !important;
  transform: translateY(-1px) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .google-reviews-widget {
    margin-top: 24px !important;
    padding: 20px !important;
  }

  .reviews-title {
    font-size: 1.2rem !important;
    margin-bottom: 16px !important;
  }

  .review-item {
    padding: 14px !important;
  }

  .review-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .reviewer-name {
    font-size: 0.9rem !important;
  }

  .review-text {
    font-size: 0.85rem !important;
  }

  .view-all-reviews {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* Footer placement specific styling */
.site-footer .google-reviews-widget {
  max-width: 400px !important;
  margin: 32px auto 0 auto !important;
}

/* Contact section placement specific styling */
.contact-form-section .google-reviews-widget {
  margin-top: 0 !important;
}

/* 
/* ---------- LOGO AND NAVBAR STYLING (FINAL) ---------- */
.logo {
  height: 75px !important;
  width: auto !important;
  max-width: none !important;
}

.logo-container {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.logo-container a {
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease !important;
}

.logo-container a:hover {
  opacity: 0.8 !important;
  transform: translateY(-1px) !important;
}

.logo-text-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

.logo-text-link:hover {
  color: #bfc4ca !important;
}

/* Ensure logo text stays in column layout */
.logo-text {
  display: flex !important;
  flex-direction: column !important;
}

/* Logo text sizing */
.company-name {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.2 !important;
}

.company-tagline {
  font-size: 0.85rem !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
}

/* Navbar positioning - CONTENT-MATCHED BLUR OVERLAY */
.navbar {
  position: relative !important;
  z-index: 100 !important;
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(3px) !important;
  padding: 8px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: auto !important;
  height: auto !important;
  margin: 0 !important;
}

/* Navbar menu links - content-fitted */
.nav-menu {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nav-menu a {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.nav-menu a:hover {
  background: rgba(191, 196, 202, 0.1) !important;
}

/* Topbar positioning - ABOVE VIDEO */
.topbar {
  position: relative !important;
  z-index: 102 !important;
  background: #000 !important;
}

/* Hero section positioning */
.hero {
  position: relative !important;
  z-index: 50 !important;
  flex: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 15vh !important;
}

/* Hero text - clean treatment without big overlay */
.hero-inner {
  position: relative !important;
  max-width: 900px !important;
  margin: 0 20px !important;
  padding: 20px 0 !important;
}

/* Hero buttons specific styling */
.get-protection-hero,
.join-us-hero {
  position: relative !important;
  z-index: 60 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}

/* Focus styles for accessibility */
.get-protection-hero:focus,
.join-us-hero:focus {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

.get-protection-hero {
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  border: 2px solid #bfc4ca !important;
  padding: 16px 32px !important;
  font-size: 1.1rem !important;
  width: auto !important;
  white-space: nowrap !important;
}

.get-protection-hero:hover {
  background: linear-gradient(135deg, #ffffff 0%, #bfc4ca 100%) !important;
  color: #0b0b0b !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(191, 196, 202, 0.4) !important;
}

.join-us-hero {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f2023 100%) !important;
  color: #ffffff !important;
  border: 2px solid #bfc4ca !important;
  padding: 16px 32px !important;
  font-size: 1.1rem !important;
  width: auto !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
}

.join-us-hero:hover {
  background: linear-gradient(135deg, #bfc4ca 0%, #9ea3a8 100%) !important;
  color: #0b0b0b !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(191, 196, 202, 0.4) !important;
}

/* Performance optimizations */
* {
  will-change: auto;
}

.service-card,
.stat-block,
.contact-form-card {
  contain: layout style;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-inner {
    backdrop-filter: none !important;
  }
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  .logo {
    height: 65px !important;
  }

  .company-name {
    font-size: 1.2rem !important;
  }

  .company-tagline {
    font-size: 0.8rem !important;
  }

  /* Mobile hero text optimization - more compact */
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 1.9rem) !important; /* Smaller title */
    line-height: 1.1 !important; /* Tighter line height */
    margin-bottom: 10px !important; /* Less space after title */
  }

  .hero-sub {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important; /* Smaller subtitle */
    margin-bottom: 15px !important; /* Less space after subtitle */
  }

  .hero-inner {
    padding: 16px 0 !important;
    margin: 0 16px !important;
  }

  /* Disable all animations on mobile for performance */
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 55px !important;
  }

  .company-name {
    font-size: 1.1rem !important;
  }

  .company-tagline {
    font-size: 0.75rem !important;
  }

  /* Mobile hero buttons - positioned higher for visibility */
  .hero-ctas {
    flex-direction: column !important;
    gap: 12px !important; /* 10-15px spacing between buttons */
    width: 100% !important;
    max-width: 300px !important;
    margin: 15px auto 20px auto !important; /* Reduced margins for more space */
    padding: 0 20px !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 70 !important;
  }

  .get-protection-hero,
  .join-us-hero {
    width: 100% !important;
    max-width: 260px !important; /* Slightly narrower */
    min-height: 44px !important; /* Slightly smaller but still touchable */
    padding: 12px 18px !important; /* More compact padding */
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 15px !important; /* Slightly smaller font */
    position: relative !important;
    z-index: 71 !important;
  }

  .hero-inner {
    padding: 10px 20px 20px 20px !important; /* Reduced top padding */
    margin: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.company-name {
  display: block !important;
}

.company-tagline {
  display: block !important;
  margin-top: 2px !important;
}

/* -----
----- FORM STATES AND MESSAGES ---------- */
.form-message {
  padding: 12px 16px !important;
  border-radius: 8px !important;
  margin-top: 16px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-align: center !important;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.field-error {
  color: #ef4444 !important;
  font-size: 0.8rem !important;
  margin-top: 4px !important;
  font-weight: 500 !important;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

/* Loading state for buttons */
.contact-submit-btn.loading,
.apply-button.loading {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  position: relative !important;
}

.contact-submit-btn.loading::after,
.apply-button.loading::after {
  content: '' !important;
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  border: 2px solid transparent !important;
  border-top: 2px solid currentColor !important;
  border-radius: 50% !important;
  animation: spin 1s linear infinite !important;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* File upload styling */
.file-upload-label.file-selected {
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  background: rgba(34, 197, 94, 0.05) !important;
}

/* -
--------- MOBILE MENU Z-INDEX FIXES ---------- */
@media screen and (max-width: 768px) {

  /* Ensure video background doesn't interfere with mobile menu */
  .video-background {
    z-index: 0 !important;
  }

  /* Ensure header has proper z-index */
  .header-container {
    position: relative !important;
    z-index: 100 !important;
  }

  /* Mobile menu z-index hierarchy */
  .nav-toggle {
    z-index: 9999 !important;
    position: relative !important;
  }

  .nav-menu {
    z-index: 9998 !important;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }
}