/* ============================================
   BORDER FIX CSS - Remove All Debug/Unwanted Borders
   ============================================ */

/* Global border reset */
*,
*::before,
*::after {
  outline: none !important;
}

/* Reset all border properties except where needed */
* {
  border: none;
}

/* Remove any underlines from nav links */
.nav-link {
  text-decoration: none !important;
  border-bottom: none !important;
}

.nav-link::before,
.nav-link::after {
  display: none !important;
}

/* Ensure no red or debugging borders */
[style*="border: red"],
[style*="border-color: red"],
[style*="outline: red"],
[style*="border: 1px"],
[style*="border: 2px solid red"] {
  border: none !important;
  outline: none !important;
}

/* Remove focus outlines globally */
*:focus,
*:active,
*:focus-visible {
  outline: none !important;
}

/* Specific element fixes */
.navbar {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

.navbar-brand,
.navbar-brand *,
.nav-menu,
.nav-menu *,
.nav-list,
.nav-list * {
  border: none !important;
  outline: none !important;
}

/* Hero section - completely clean */
.hero,
.hero-content,
.hero-content *,
.hero-image,
.hero-image * {
  border: none !important;
  outline: none !important;
}

/* Remove all borders from divs and sections by default */
div,
section,
header,
footer,
main,
article,
aside {
  border: none !important;
}

/* Re-enable ONLY specific borders with controlled styles */
.footer {
  border-top: 1px solid rgba(109, 148, 197, 0.15) !important;
}

.footer-col {
  border-right: 1px solid rgba(109, 148, 197, 0.15) !important;
}

.footer-col:last-child, 
.footer-col.footer-connect {
  border-right: none !important;
}

.navbar.scrolled {
  border-bottom: 1px solid rgba(109, 148, 197, 0.18) !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

.hero-badge {
  border: 1px solid rgba(109, 148, 197, 0.2) !important;
}

.carousel-track-wrapper {
  border: 1px solid rgba(109, 148, 197, 0.12) !important;
}

.stat-box {
  border: 1px solid rgba(109, 148, 197, 0.05) !important;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.btn-outline {
  border: 2px solid var(--primary-color) !important;
}

.navbar-actions .btn-outline {
  border: 1.5px solid rgba(109, 148, 197, 0.55) !important;
}

.mobile-toggle {
  border: 1.5px solid rgba(109, 148, 197, 0.2) !important;
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-outline-light {
  border: 2px solid var(--text-white) !important;
}

/* Remove borders from images and wrappers */
img,
.hero-img-wrapper,
.hero-img-wrapper img,
.about-img-wrapper,
.about-img-wrapper img {
  border: none !important;
  outline: none !important;
}

/* Remove borders from sections */
section,
.container,
.hero-content,
.hero-image,
.about,
.solutions,
.industries,
.positions,
.process,
.testimonials,
.contact,
.faq,
.trusted-companies {
  border: none !important;
}

/* Button specific fixes */
button {
  outline: none !important;
  border: none !important;
}

/* Re-enable borders only for button variants that need them */
button.btn-outline,
button.mobile-toggle,
a.btn-outline,
.navbar-actions .btn-outline {
  border-style: solid !important;
}

/* Link fixes */
a,
a:hover,
a:focus,
a:active {
  outline: none !important;
  text-decoration: none !important;
  border: none !important;
}

/* Nav link specific - no underlines */
.nav-link,
.nav-link:hover,
.nav-link:active,
.nav-link:focus,
.nav-link.active {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
}

/* Input and form fixes */
input,
textarea,
select {
  outline: none !important;
  border: 1px solid rgba(109, 148, 197, 0.2) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(109, 148, 197, 0.1) !important;
}

/* Completely clean hero image area */
.hero-image,
.hero-image *,
.hero-img-wrapper,
.hero-img-wrapper *,
.hero-img-overlay,
.hero-badge-float,
.hero-badge-float * {
  border: none !important;
}

/* Hero badge float - special border */
.hero-badge-float {
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.badge-icon {
  border: none !important;
}

/* Grid and layout elements */
.hero .container,
.trust-grid,
.solutions-grid,
.industries-grid,
.positions-grid,
.testimonials-grid {
  border: none !important;
}

/* Cards without borders unless glass effect */
.solution-card,
.industry-card,
.position-category,
.testimonial-card {
  border: none !important;
}

/* Glass cards get their border back */
.solution-card.glass,
.position-category.glass,
.testimonial-card.glass,
.stat-card.glass,
.pillar-card.glass,
.about-badge.glass,
.hero-badge-float.glass {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Remove webkit tap highlight */
* {
  -webkit-tap-highlight-color: transparent;
}

/* SVG elements */
svg,
svg * {
  border: none !important;
  outline: none !important;
}

/* Back to top button */
.back-to-top {
  border: none !important;
  outline: none !important;
}

.back-to-top:focus,
.back-to-top:active {
  outline: none !important;
  border: none !important;
}

/* Tablet & Mobile Separator resets */
@media (max-width: 992px) {
  .footer-col {
    border-right: none !important;
    padding-right: 0 !important;
  }
}

.copyright-text a {
  /* text-decoration: underline !important; */
}
