/* Essential Fixes for Borealis Security Website */

/* Fix for Quirks mode and general styling */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system, system-ui, sans-serif;
  background-color: #0a192f;
  color: #ccd6f6;
  line-height: 1.5;
}

/* Container fixes */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* Basic resets */
a {
  color: #64ffda;
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #64ffda;
  opacity: 0.8;
}

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

/* Button Fixes */
button, .btn, [class*="btn-"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  background-color: transparent;
  color: #64ffda;
  border: 1px solid #64ffda;
}

button:hover, .btn:hover, [class*="btn-"]:hover {
  background-color: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background-color: #64ffda;
  color: #0a192f;
}

.btn-primary:hover {
  background-color: rgba(100, 255, 218, 0.9);
  color: #0a192f;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Navbar Fixes */
.cs-header {
  position: relative !important;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  background-color: #0a192f !important;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cs-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #e6f1ff;
  font-weight: 700;
}

.cs-brand-text {
  margin-left: 10px;
  font-size: 1.25rem;
}

.cs-brand-text span {
  color: #64ffda;
}

.cs-nav {
  display: flex;
  align-items: center;
}

.cs-nav-links {
  display: flex;
  align-items: center;
}

.cs-nav-link, 
.cs-dropdown-trigger {
  color: #ccd6f6;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.cs-nav-link:hover, 
.cs-nav-link.active,
.cs-dropdown-trigger:hover,
.cs-dropdown-trigger.active {
  color: #64ffda;
  text-decoration: none;
}

.cs-dropdown-trigger {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cs-dropdown-arrow {
  margin-left: 5px;
}

.cs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #112240;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
  border-radius: 4px;
  padding: 1rem;
  z-index: 10;
}

.cs-dropdown.active {
  display: block;
}

.cs-solutions-dropdown,
.cs-why-dropdown {
  width: 800px;
  left: -200px;
}

.cs-action-area {
  display: flex;
  align-items: center;
}

/* Mobile menu */
.cs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.cs-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #64ffda;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.cs-toggle-bar:nth-child(1) {
  top: 0;
}

.cs-toggle-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.cs-toggle-bar:nth-child(3) {
  bottom: 0;
}

.cs-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #112240;
  padding: 6rem 2rem 2rem;
  width: 300px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 999;
}

.cs-mobile-menu.active {
  transform: translateX(0);
}

/* Main content */
.main-content {
  padding-top: 0;
  min-height: calc(100vh - 200px);
}

.main-content-wrapper {
  width: 100%;
}

/* Animations */
.aurora-animation {
  z-index: 1;
}

/* Fixed typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: #e6f1ff;
  font-weight: 600;
  line-height: 1.2;
}

/* Fix service cards */
.service-card {
  background-color: #112240;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(17, 34, 64, 0.9);
  color: #ccd6f6;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-consent-content {
  padding-right: 2rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 1rem;
}

/* Fix FontAwesome */
.fa::before,
.fas::before, 
.far::before, 
.fab::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.far::before {
  font-weight: 400;
}

.fab::before {
  font-family: 'Font Awesome 5 Brands';
}

/* Responsive fixes */
@media (max-width: 991px) {
  .cs-nav-links {
    display: none;
  }
  
  .cs-mobile-toggle {
    display: block;
  }
  
  .cs-solutions-dropdown,
  .cs-why-dropdown {
    width: 100%;
    left: 0;
  }
}

/* Debug Messages */
.debug-message {
  display: none;
}/* Emergency CSS Fixes for Corporate Website
 * This file addresses critical styling issues and ensures proper rendering
 */

/* Fix quirks mode issues */
html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system, system-ui, sans-serif;
  line-height: 1.5;
  color: #ccd6f6;
  background-color: #0a192f;
  min-height: 100%;
}

/* Basic resets */
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fix button styles */
.btn, button, [class*="btn-"] {
  display: inline-block;
  font-weight: 500;
  color: #fff;
  background-color: #3a86ff;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn:hover, button:hover, [class*="btn-"]:hover {
  background-color: #1a66ff;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.btn-primary {
  background-color: #64ffda;
  color: #0a192f;
}

.btn-primary:hover {
  background-color: #40ffcf;
  color: #0a192f;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Container fixes */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1140px;
}

/* Navigation fixes - CRITICAL */
.cs-header {
  position: relative !important;
  top: 0 !important;
  background: #0a192f !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  z-index: 1000 !important;
  color: #ccd6f6 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cs-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.cs-brand {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: #e6f1ff !important;
  font-weight: 700 !important;
}

.cs-brand-text {
  margin-left: 10px !important;
  font-size: 1.25rem !important;
  color: #e6f1ff !important;
}

.cs-nav {
  display: flex !important;
  align-items: center !important;
}

.cs-nav-links {
  display: flex !important;
  align-items: center !important;
}

.cs-nav-link {
  color: #e6f1ff !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  transition: color 0.3s !important;
  opacity: 0.8 !important;
}

.cs-nav-link:hover, 
.cs-nav-link.active {
  color: #64ffda !important;
  opacity: 1 !important;
}

.cs-dropdown-trigger {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  color: #112240;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.cs-dropdown-arrow {
  margin-left: 5px;
}

/* Cookie consent critical fix */
.cookie-consent, .cookie-banner, #cookieBanner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(17, 34, 64, 0.95) !important;
  color: #fff !important;
  padding: 1rem !important;
  z-index: 9999 !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Hero section fixes */
.hero-bg {
  background-position: center;
  background-size: cover;
}

/* Critical grid and service card fixes */
.services-grid, .blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
  margin: 40px 0 !important;
}

.service-card, .blog-card {
  background: #112240 !important;
  padding: 2rem !important;
  border-radius: 8px !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.service-card:hover, .blog-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile menu fixes */
.cs-mobile-menu {
  display: none;
}

.cs-mobile-menu.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  z-index: 1001;
  padding: 2rem;
}

.cs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.cs-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #112240;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.cs-toggle-bar:nth-child(1) {
  top: 0;
}

.cs-toggle-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.cs-toggle-bar:nth-child(3) {
  bottom: 0;
}

.cs-mobile-toggle.active .cs-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Responsive styles */
@media (max-width: 991px) {
  .cs-nav-links {
    display: none;
  }
  
  .cs-mobile-toggle {
    display: block;
  }
  
  .cs-brand-text span {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix for fallback component loading */
[data-component] {
  min-height: 30px;
  position: relative;
}

[data-component]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.05);
  z-index: -1;
}

/* CRITICAL: Fix page structure layout */
body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  position: relative !important;
}

/* Ensure header is at the top, not fixed - EXTRA CRITICAL */
header:not(.hero-section), .cs-header {
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1000 !important;
  background: #0a192f !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  order: 1 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #e6f1ff !important;
}

/* Ensure main content takes up available space */
main, .main-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  min-height: calc(100vh - 200px) !important;
  order: 2 !important;
}

/* Content wrapper */
.main-content-wrapper {
  flex: 1 0 auto !important;
  width: 100% !important;
  display: block !important;
}

/* Ensure footer is at the bottom */
footer {
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  order: 3 !important;
}

/* Section general styling */
section {
  padding: 4rem 0;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e6f1ff;
  margin: 0;
}

/* Fix for testimonials */
.testimonial-card {
  position: relative;
  padding: 2rem;
  background: #112240;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Fix for blog cards */
.blog-card {
  background: #112240;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Fix for CTA section */
.cta {
  background: linear-gradient(135deg, #3a86ff, #9d4edd);
  color: #fff;
  padding: 4rem 0;
}/**
 * Global Fixes CSS
 * Consolidates emergency and layout fixes into a single file with proper organization.
 * Version: 1.0
 * Last updated: 2025-05-19
 */

/* ===========================
   CORE PAGE STRUCTURE
   =========================== */

html {
    box-sizing: border-box;
    height: 100%;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans, "Calibre", "Inter", "San Francisco", "SF Pro Text", -apple-system, system-ui, sans-serif);
    line-height: 1.7;
    color: var(--text, #ccd6f6);
    background-color: var(--primary, #0a192f);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Fix for proper page structure */
header:not(.hero-section), .cs-header {
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
    background: var(--primary, #0a192f);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    order: 1;
}

main, .main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: calc(100vh - 200px);
    order: 2;
}

.main-content-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    width: 100%;
    order: 3;
}

/* ===========================
   NAVBAR IMPROVEMENTS
   =========================== */

.cs-header {
    position: relative !important;
    top: 0 !important;
    background: var(--primary, #0a192f) !important;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7) !important;
    z-index: 1000 !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.cs-brand {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: var(--text-light, #e6f1ff) !important;
    font-weight: 700 !important;
}

.cs-brand-text {
    margin-left: 10px !important;
    font-size: 1.25rem !important;
    color: var(--text-light, #e6f1ff) !important;
}

.cs-nav {
    display: flex !important;
    align-items: center !important;
}

.cs-nav-menu {
    display: flex !important;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.cs-nav-link {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text, #ccd6f6) !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.cs-nav-link:hover, 
.cs-nav-link:focus {
    color: var(--accent, #64ffda) !important;
}

.cs-nav-menu .active > .cs-nav-link,
.cs-nav-link.active {
    color: var(--accent, #64ffda) !important;
    font-weight: 600;
}

.cs-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary, #112240);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1001;
}

.cs-dropdown.active, 
.cs-dropdown.show {
    display: block;
}

.cs-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    color: var(--text, #ccd6f6) !important;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.cs-dropdown-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--accent, #64ffda) !important;
}

/* Mobile menu styling */
.cs-hamburger {
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    .cs-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
    }
    
    .cs-hamburger-line {
        width: 100%;
        height: 2px;
        background-color: var(--accent, #64ffda);
        transition: all 0.3s ease;
    }
    
    .cs-nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--primary, #0a192f);
        width: 250px;
        flex-direction: column !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
        padding: 1rem 0;
        border-radius: 0 0 4px 4px;
    }
    
    .cs-nav-menu.show-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: flex !important;
    }
    
    .cs-nav-item {
        width: 100%;
    }
    
    .cs-nav-link {
        padding: 0.75rem 1.5rem;
    }
}

/* ===========================
   CONTAINER & LAYOUT FIXES
   =========================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

section {
    padding: 60px 0;
    position: relative;
}

section > *:not(.container) {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ===========================
   SERVICES GRID & CARDS
   =========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary, #112240);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue, #3a86ff), var(--accent-purple, #9d4edd), var(--accent, #64ffda));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.service-card:hover:before {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: var(--font-mono, "SF Mono", "Fira Code", "Roboto Mono", monospace);
    font-size: 14px;
    color: var(--accent, #64ffda);
    opacity: 0.8;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue, #3a86ff), var(--accent, #64ffda));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

.service-icon {
    font-size: 24px;
    color: var(--primary, #0a192f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-light, #e6f1ff);
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary, #8892b0);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text-secondary, #8892b0);
}

.service-features li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: var(--accent, #64ffda);
    font-size: 14px;
}

.service-link {
    font-family: var(--font-mono, "SF Mono", "Fira Code", "Roboto Mono", monospace);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    color: var(--accent, #64ffda);
    margin-top: auto;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-link:hover {
    color: var(--accent, #64ffda);
    text-decoration: none;
    opacity: 0.9;
}

/* Service Card Special States */
.service-card.premium-card {
    border-color: var(--accent, #64ffda);
    transform: scale(1.05);
    z-index: 10;
}

.service-card.featured-card {
    border-color: var(--accent-blue, #3a86ff);
}

.service-card.urgent-card {
    border-color: var(--accent-purple, #9d4edd);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(90deg, var(--accent-blue, #3a86ff), var(--accent-purple, #9d4edd));
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-badge.urgent-badge {
    background: linear-gradient(90deg, #ff3366, var(--accent-purple, #9d4edd));
}

/* ===========================
   RESPONSIVE DESIGN FIXES
   =========================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    section {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card.premium-card {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card.premium-card {
        transform: none;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .service-icon {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 30px 0;
    }
    
    .service-card {
        padding: 20px 15px;
    }
}

/* ===========================
   BUTTON & LINK FIXES
   =========================== */

a {
    color: var(--accent, #64ffda);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: rgba(100, 255, 218, 0.8);
}

button, .btn, [class*="btn-"] {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent, #64ffda);
    color: var(--primary, #0a192f);
    border: none;
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.8);
    color: var(--primary, #0a192f);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent, #64ffda);
    border: 1px solid var(--accent, #64ffda);
}

.btn-secondary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--accent, #64ffda);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-urgent {
    background-color: #ff3366;
    color: white;
}

.btn-urgent:hover {
    background-color: #ff1a53;
    color: white;
    transform: translateY(-2px);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-arrow i {
    transition: transform 0.2s;
}

.btn-arrow:hover i {
    transform: translateX(5px);
}

/* ===========================
   COMPONENT VISIBILITY & LOADING
   =========================== */

.component-loading {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.component-ready {
    opacity: 1;
}

.section-hidden {
    display: none !important;
}

/* ===========================
   TYPOGRAPHY UTILITIES
   =========================== */

.text-accent {
    color: var(--accent, #64ffda);
}

.text-primary {
    color: var(--text-light, #e6f1ff);
}

.text-secondary {
    color: var(--text-secondary, #8892b0);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light, #e6f1ff);
    margin-top: 0;
}

/* ===========================
   MISCELLANEOUS FIXES
   =========================== */

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

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.hide-overflow {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    
    thead {
        display: table-header-group;
    }
    
    tr,
    img {
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
    
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    
    h2,
    h3 {
        page-break-after: avoid;
    }
}/**
 * Font Awesome Fix
 *
 * This stylesheet addresses the "Glyph bbox was incorrect" warnings
 * for Font Awesome icons by creating a safer loading mechanism
 * and fallback options.
 */

/* Define font display strategy to avoid glyph errors affecting render */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.ttf") format("truetype");
}

/* Provide fallback classes for icon rendering issues */
.fa-fallback {
  font-family: Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
}

/* Override specific problematic icons with text equivalents if needed */
.fa-arrow-up.with-fallback::before {
  content: "↑";
}

.fa-check.with-fallback::before {
  content: "✓";
}

.fa-times.with-fallback::before {
  content: "✕";
}

/* Ensure icons render correctly even when font fails */
i[class^="fa-"], i[class*=" fa-"] {
  display: inline-block;
  min-width: 1em;
  text-align: center;
}

/* EMERGENCY HERO VISIBILITY FIX */
body.index-ultra-page header.hero-section {
    display: flex !important;
    min-height: 100vh !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
    background: transparent !important;
    position: relative !important;
}
body.index-ultra-page .hero-bg {
    z-index: -1 !important;
    display: block !important;
    opacity: 1 !important;
}