/* Custom Styles for IT Company Websites */
/* =============================================
   RESPONSIVE DESIGN SYSTEM
   ============================================= */

/* ===========================================
   CSS CUSTOM PROPERTIES FOR RESPONSIVE DESIGN
   =========================================== */
:root {
  /* Responsive spacing scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Container max-widths */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  
  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
}

/* ===========================================
   BASE RESPONSIVE TYPOGRAPHY
   =========================================== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fluid typography for headings */
h1, .h1 {
  font-size: clamp(1.75rem, 4vw + 1rem, 3.5rem);
  line-height: 1.2;
}

h2, .h2 {
  font-size: clamp(1.5rem, 3vw + 0.75rem, 2.5rem);
  line-height: 1.25;
}

h3, .h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  line-height: 1.3;
}

h4, .h4 {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
  line-height: 1.35;
}

h5, .h5 {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
  line-height: 1.4;
}

h6, .h6 {
  font-size: clamp(0.875rem, 0.5vw + 0.5rem, 1rem);
  line-height: 1.45;
}

/* Display headings - responsive */
.display-1 {
  font-size: clamp(2.5rem, 6vw + 1rem, 6rem);
}

.display-2 {
  font-size: clamp(2.25rem, 5vw + 1rem, 5.5rem);
}

.display-3 {
  font-size: clamp(2rem, 4vw + 1rem, 4.5rem);
}

.display-4 {
  font-size: clamp(1.75rem, 3.5vw + 1rem, 3.5rem);
}

/* Lead text responsive */
.lead {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  line-height: 1.6;
}

.lead-2 {
  font-size: clamp(0.9375rem, 1.25vw + 0.5rem, 1.125rem);
  line-height: 1.7;
}

/* ===========================================
   RESPONSIVE IMAGES & MEDIA
   =========================================== */
img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Responsive video containers */
.embed-responsive,
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.embed-responsive iframe,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================================
   RESPONSIVE SPACING UTILITIES
   =========================================== */
/* Responsive padding classes */
.py-responsive {
  padding-top: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

.px-responsive {
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 3vw, 3rem);
}

/* Responsive margin classes */
.my-responsive {
  margin-top: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(1.5rem, 4vw, 4rem);
}

.mx-responsive {
  margin-left: clamp(0.5rem, 2vw, 2rem);
  margin-right: clamp(0.5rem, 2vw, 2rem);
}

/* Gap utilities for flexbox/grid */
.gap-responsive {
  gap: clamp(1rem, 2vw, 2rem);
}

.gap-y-responsive {
  row-gap: clamp(1.5rem, 3vw, 3rem);
}

.gap-x-responsive {
  column-gap: clamp(1rem, 2vw, 2rem);
}

/* Timeline Styles */
.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--color-primary);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.timeline-item:last-child::before {
  height: 20px;
}

/* Partner Logo Styles */
.partner-logo {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
}

/* Footer Logo */
.footer-logo {
  max-height: 40px;
}

/* Feature Icon Hover */
.feature-1 .feature-icon,
.feature-2 .feature-icon {
  transition: color 0.3s ease, transform 0.3s ease;
}

.feature-1:hover .feature-icon,
.feature-2:hover .feature-icon {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Card Hover Effects */
.card.hover-shadow-6 {
  transition: all 0.3s ease;
}

.card.hover-shadow-6:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Fix card scroll behavior - prevent cards from having their own scroll */
.card {
  overflow: visible;
  overscroll-behavior: auto;
}

.card-body {
  overflow: visible;
}

/* ===========================================
   CARD CONTENT AUTO-FIT
   Ensures cards expand to contain all content
   =========================================== */
/* Cards should always fit their content */
.card.h-100 {
  height: auto !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.card.h-100 .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Mission/Vision and similar info cards */
.card.border {
  height: auto;
  min-height: fit-content;
}

.card.border .card-body {
  height: auto;
  min-height: fit-content;
}

/* Ensure text content in cards is never clipped */
.card .lead-2,
.card p,
.card h4,
.card h5 {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Equal height cards in a row should match the tallest */
.row.gap-y > [class*="col-"] > .card {
  height: 100%;
}

/* Value/feature cards that need equal heights */
.row.gap-y > [class*="col-"] > .card.h-100 {
  height: 100% !important;
}

/* For responsive - ensure cards shrink to fit content on smaller screens */
@media (max-width: 991px) {
  .card.h-100,
  .card.border {
    height: auto !important;
    min-height: auto;
  }
  
  .row.gap-y > [class*="col-"] > .card {
    height: auto;
    margin-bottom: 1.5rem;
  }
}

/* Ensure card padding doesn't cause overflow */
.card-body.p-6 {
  padding: 2rem !important;
}

@media (max-width: 767px) {
  .card-body.p-6 {
    padding: 1.5rem !important;
  }
}

/* Flex row for equal height cards */
.row.gap-y {
  display: flex;
  flex-wrap: wrap;
}

.row.gap-y > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.row.gap-y > [class*="col-"] > .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Card body should grow to fill available space */
.row.gap-y > [class*="col-"] > .card > .card-body {
  flex: 1 1 auto;
}

/* Ensure sections don't create scroll containers */
section,
.section {
  overflow: visible;
  overscroll-behavior: auto;
}

/* Ensure main content flows properly */
.main-content {
  overflow: visible;
  overscroll-behavior: auto;
}

/* Prevent scroll trapping globally */
html {
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: auto;
}

/* =============================================
   SCROLL TO TOP BUTTON - Premium Design
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  background: #ffffff;
  border: none;
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.08),
    0 4px 24px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  outline: none;
}

/* Clean circle border */
.scroll-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Icon styling */
.scroll-top i {
  font-size: 16px;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  transition: 
    transform 0.3s ease,
    color 0.3s ease;
  line-height: 1;
}

/* Visible state */
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover state - fills with primary color */
.scroll-top:hover {
  background: var(--color-primary);
  box-shadow: 
    0 4px 16px rgba(var(--color-primary-rgb), 0.3),
    0 8px 32px rgba(var(--color-primary-rgb), 0.2);
  transform: translateY(-3px);
}

.scroll-top:hover::before {
  opacity: 0;
}

.scroll-top:hover i {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Active/pressed state */
.scroll-top:active {
  transform: translateY(-1px);
  box-shadow: 
    0 2px 8px rgba(var(--color-primary-rgb), 0.25),
    0 4px 16px rgba(var(--color-primary-rgb), 0.15);
}

/* Focus state for accessibility */
.scroll-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Progress ring around button */
.scroll-top-progress {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  pointer-events: none;
  transform: rotate(-90deg);
}

.scroll-top-progress circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.4;
  transition: stroke-dashoffset 0.15s ease-out;
}

/* Rating Stars */
.rating {
  color: #ffc107;
}

/* Text Quoted */
.text-quoted {
  font-style: italic;
  position: relative;
}

/* Badge Styles */
.badge-lg {
  padding: 0.5em 1em;
  font-size: 0.9em;
}

/* Stats Counter Animation */
[data-counter] {
  display: inline-block;
}

/* Shuffle Filter */
.shuffle-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Footer Styles */
.footer {
  background-color: #1a1f36;
  color: #e2e8f0;
  padding: 60px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 24px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .footer-logo {
  max-height: 42px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer .footer-logo:hover {
  opacity: 0.8;
}

.footer h6 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer .nav-link {
  padding: 6px 0;
  color: #cbd5e1;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.footer .nav-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer .nav-link i {
  transition: color 0.3s ease;
}

.footer .text-muted {
  color: #94a3b8 !important;
}

.footer-bottom .text-muted {
  color: #94a3b8 !important;
  font-size: 0.875rem;
}

/* Footer contact items styling */
.footer .nav-item a.nav-link {
  color: #cbd5e1;
}

.footer .nav-item a.nav-link:hover {
  color: var(--color-primary);
}

.footer .nav-item .nav-link span {
  color: inherit;
}

/* Footer Newsletter Form */
.footer .newsletter-form input[type="email"] {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer .newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer .newsletter-form input[type="email"]:focus {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--color-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
  color: #fff !important;
}

.footer .newsletter-form .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary))) !important;
  border: none;
  transition: all 0.3s ease;
}

.footer .newsletter-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.4);
}

.footer .newsletter-success {
  color: #4ade80 !important;
  font-size: 0.875rem;
}

/* ===========================================
   NAVBAR - FULLY RESPONSIVE
   =========================================== */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1040;
}

.navbar.stick {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

/* Modern Professional Navbar */
.navbar-modern {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-modern.stick {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Navbar Container Layout */
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-left {
  flex-shrink: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
}

.navbar-right {
  flex-shrink: 0;
  margin-left: 2rem;
}

/* Mobile hamburger button */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  margin-right: 0.75rem;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggler:hover {
  opacity: 0.7;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-mobile {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Hide the divider */
.navbar-divider {
  display: none;
}

/* Navbar Navigation Spacing */
.nav-navbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-navbar > .nav-item {
  white-space: nowrap;
  position: relative;
}

.nav-navbar > .nav-item > .nav-link {
  padding: 0.625rem 1.125rem;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: #374151;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  position: relative;
}

.nav-navbar > .nav-item > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-navbar > .nav-item > .nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.05);
}

.nav-navbar > .nav-item > .nav-link:hover::after {
  width: 60%;
  transform: translateX(-50%) scaleX(1);
}

.nav-navbar > .nav-item > .nav-link.active {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.08);
}

.nav-navbar > .nav-item > .nav-link.active::after {
  width: 60%;
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu Styles */
.nav-navbar > .nav-item.has-dropdown {
  position: relative;
}

.nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.nav-navbar > .nav-item.has-dropdown:hover > .dropdown-menu-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav > .nav-link {
  padding: 0.75rem 1.5rem;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}

.nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav > .nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.05);
  padding-left: 1.75rem;
}

/* Dropdown Arrow Icon */
.nav-navbar > .nav-item.has-dropdown > .nav-link > .ti-angle-down {
  font-size: 0.7rem;
  margin-left: 6px;
  transition: transform 0.25s ease;
  vertical-align: middle;
  opacity: 0.7;
}

.nav-navbar > .nav-item.has-dropdown:hover > .nav-link > .ti-angle-down {
  transform: rotate(180deg);
}

/* Navbar Brand Spacing */
.navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand img {
  max-height: 40px;
  height: auto;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.stick .navbar-brand img {
  max-height: 36px;
}

/* Navbar CTA Button Spacing */
.navbar .btn {
  margin-left: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Professional Contact Button */
.btn-contact-nav {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, var(--color-primary)) 100%);
  border: none;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-contact-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
  color: #fff;
}

.btn-contact-nav:active {
  transform: translateY(0);
}

/* Navbar Auth Buttons */
.navbar-auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.navbar-auth-buttons .btn {
  margin-left: 0;
}

.navbar-auth-buttons .btn-outline-primary {
  border-width: 1.5px;
}

/* ===========================================
   MOBILE NAVIGATION (below 992px)
   =========================================== */
@media (max-width: 991px) {
  .navbar > .container {
    flex-wrap: wrap;
  }
  
  .navbar-toggler {
    display: block;
    order: 1;
  }
  
  .navbar-brand {
    order: 2;
    flex-grow: 1;
  }
  
  .navbar-brand img {
    max-height: 32px;
  }
  
  /* Hide CTA button in navbar on mobile - show in menu */
  .navbar > .container > .btn,
  .navbar > .container > .navbar-auth-buttons {
    display: none;
  }
  
  .navbar-mobile {
    order: 4;
    flex-basis: 100%;
    flex-grow: 0;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    background: #fff;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
  }
  
  /* Mobile Contact Button */
  .navbar-mobile .d-lg-none {
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    order: 999;
    display: flex;
    justify-content: center;
  }
  
  .navbar-mobile .btn-contact-nav {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    margin: 0;
  }
  
  .navbar-mobile.show {
    max-height: 100vh;
    padding: 1rem 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .nav-navbar {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }
  
  .nav-navbar > .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .nav-navbar > .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-navbar > .nav-item > .nav-link {
    padding: 1rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  
  /* Center dropdown arrow on mobile */
  .nav-navbar > .nav-item.has-dropdown > .nav-link {
    justify-content: center;
    gap: 0.5rem;
  }
  
  /* Mobile dropdown */
  .nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem 0;
    margin: 0 auto 0.5rem auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    align-items: center;
    width: 100%;
    max-width: 300px;
  }
  
  .nav-navbar > .nav-item.has-dropdown.show > .dropdown-menu-nav {
    max-height: 500px;
    padding: 0.5rem 0;
    margin: 0 auto 0.5rem auto;
  }
  
  .nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav > .nav-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    text-align: center;
    justify-content: center;
  }
  
  .nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav > .nav-link:hover {
    padding-left: 1.25rem;
  }
  
  /* Mobile auth buttons */
  .navbar-auth-buttons {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .navbar-auth-buttons .btn {
    width: 100%;
  }
  
  /* Mobile CTA button in menu */
  .navbar-mobile .btn-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }
}

/* Small mobile adjustments */
@media (max-width: 575px) {
  .navbar-brand img {
    max-height: 28px;
  }
  
  .navbar-toggler {
    font-size: 1.25rem;
    padding: 0.375rem;
  }
  
  .nav-navbar > .nav-item > .nav-link {
    padding: 0.875rem 0;
    font-size: 0.9375rem;
  }
}

/* Form Styles */
.form-control-lg {
  border-radius: 4px;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 8px;
}

.modal-header {
  border-bottom-color: #f1f2f3;
}

/* Portfolio Card */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Section Headers */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header hr {
  width: 50px;
  border-top: 2px solid var(--color-primary);
  margin: 20px auto;
}

.section-header small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Stats Section */
[data-counter] {
  font-family: var(--font-heading);
}

/* Social Icons */
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 5px;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.social a:hover {
  color: #fff;
  background-color: var(--color-primary);
}

.social-sm a {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   =========================================== */

/* Extra Large screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .nav-navbar .nav-link {
    padding: 0.5rem 1.25rem;
  }
  
  .nav-navbar {
    gap: 0.75rem;
  }
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .nav-navbar .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .nav-navbar {
    gap: 0.5rem;
  }
}

/* Medium-Large screens (992px and up) */
@media (min-width: 992px) {
  .navbar-mobile {
    display: flex;
    align-items: center;
  }
  
  .nav-navbar {
    flex-wrap: nowrap;
  }
  
  /* Desktop CTA section layout */
  .cta-section .row {
    align-items: center;
  }
}

/* ===========================================
   TABLET BREAKPOINT (768px - 991px)
   =========================================== */
@media (max-width: 991px) {
  /* Section spacing */
  .section {
    padding: 60px 0;
  }
  
  .section.py-7,
  .section.py-8 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  /* Fullscreen header adjustments */
  .h-fullscreen {
    min-height: auto;
    padding: 80px 0 100px;
  }
  
  .header.h-fullscreen {
    min-height: 70vh;
    padding-top: 100px;
  }
  
  /* Typography adjustments */
  .display-4 {
    font-size: 2.25rem;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  /* Navbar mobile layout */
  .nav-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  
  .nav-navbar .nav-item {
    width: 100%;
  }
  
  .nav-navbar .nav-link {
    padding: 0.875rem 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  /* Mobile dropdown styles */
  .nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
    padding: 0;
    margin-left: 0;
    display: none;
    width: 100%;
  }
  
  .nav-navbar > .nav-item.has-dropdown:hover > .dropdown-menu-nav,
  .nav-navbar > .nav-item.has-dropdown.show > .dropdown-menu-nav {
    display: flex;
  }
  
  .nav-navbar > .nav-item.has-dropdown > .dropdown-menu-nav > .nav-link {
    padding: 0.75rem 1rem 0.75rem 2rem;
  }
  
  /* Card grid adjustments */
  .card-body {
    padding: 1.5rem;
  }
  
  .card-body.p-5,
  .card-body.p-6 {
    padding: 1.5rem !important;
  }
  
  /* Feature sections */
  .feature-1,
  .feature-2 {
    text-align: center;
    padding: 1rem;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
  
  /* CTA sections */
  .section.py-8 .row.align-items-center {
    text-align: center;
  }
  
  .section.py-8 .col-lg-4.text-lg-right {
    text-align: center !important;
    margin-top: 1.5rem;
  }
  
  /* Portfolio/Blog grid */
  .shuffle-container .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Team member cards */
  .avatar.avatar-xl {
    width: 100px;
    height: 100px;
  }
  
  /* Timeline adjustments */
  .timeline-item .col-md-2 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .timeline-item .col-md-10 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  /* Stats section */
  .row.text-center.text-white .col-md-3 {
    margin-bottom: 2rem;
  }
  
  .row.text-center.text-white .col-md-3:last-child {
    margin-bottom: 0;
  }
  
  /* Contact page layout */
  .col-lg-7[data-aos="fade-right"],
  .col-lg-4.ml-auto[data-aos="fade-left"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
  }
  
  .col-lg-4.ml-auto[data-aos="fade-left"] {
    margin-top: 2rem;
  }
  
  /* Modal adjustments */
  .modal-lg {
    max-width: 90%;
    margin: 1rem auto;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  /* Button group filter - wrap on tablet */
  .btn-group.btn-group-toggle {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .btn-group.btn-group-toggle .btn {
    border-radius: 0.25rem !important;
    margin: 0 !important;
  }
}

/* ===========================================
   MOBILE BREAKPOINT (576px - 767px)
   =========================================== */
@media (max-width: 767px) {
  /* Section spacing */
  .section {
    padding: 40px 0;
  }
  
  .section.py-7,
  .section.py-8 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  
  /* Section header */
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header .lead {
    font-size: 1rem;
  }
  
  /* Header adjustments */
  .header.h-fullscreen {
    min-height: auto;
    padding: 80px 20px 60px;
  }
  
  .header.pb-80 {
    padding-bottom: 40px !important;
  }
  
  /* Hero content */
  .header h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .header .lead {
    font-size: 1rem;
    margin-top: 1rem !important;
  }
  
  .header .gap-xy {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .header .gap-xy .btn {
    width: 100%;
    margin: 0 !important;
  }
  
  /* Buttons */
  .btn-lg {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .btn-round {
    border-radius: 50px;
  }
  
  /* Button groups */
  .btn-group.btn-group-toggle {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group.btn-group-toggle .btn {
    width: 100%;
    border-radius: 0.25rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Cards */
  .card-body.p-5,
  .card-body.p-6 {
    padding: 1.25rem !important;
  }
  
  /* Portfolio/Blog grid - single column */
  .shuffle-container .col-lg-4,
  .shuffle-container .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* Stats section - 2 columns */
  .row.text-center.text-white .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1.5rem;
  }
  
  .row.text-center.text-white .display-4 {
    font-size: 1.75rem;
  }
  
  /* Team grid - single column */
  .col-md-6.col-lg-4[data-aos] .card {
    max-width: 100%;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 20px;
  }
  
  .timeline-item .col-3 {
    flex: 0 0 auto;
    width: auto;
    padding-right: 1rem;
  }
  
  .timeline-item .col-9 {
    flex: 1;
    width: auto;
  }
  
  .badge-lg {
    padding: 0.35em 0.75em;
    font-size: 0.75em;
  }
  
  /* Contact form */
  .form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 0;
  }
  
  .footer .col-6.col-md-4.col-lg-2,
  .footer .col-6.col-md-3.col-lg-3,
  .footer .col-6.col-md-3.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  
  .footer h6 {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
  
  .footer .nav-link {
    font-size: 0.875rem;
    padding: 0.4rem 0;
  }
  
  .footer-bottom {
    margin-top: 30px;
    padding: 20px 0;
  }
  
  .footer-bottom .row {
    text-align: center;
  }
  
  .footer-bottom .col-md-6:last-child {
    margin-top: 1rem;
  }
  
  .footer-bottom .text-md-right {
    text-align: center !important;
  }
  
  .footer .footer-logo {
    max-height: 36px;
  }
  
  .footer .text-muted {
    font-size: 0.875rem;
  }
  
  /* Modal */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-body .row .col-md-8,
  .modal-body .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .modal-body .row .col-md-4 {
    margin-top: 1.5rem;
  }
  
  /* Process steps */
  .process-step .step-number {
    width: 40px !important;
    height: 40px !important;
  }
  
  .process-step h6 {
    font-size: 0.8rem;
  }
  
  .process-step .small {
    font-size: 0.7rem;
  }
  
  /* Service cards */
  .col-lg-6.px-4 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Partners section */
  .partner-logo {
    max-height: 35px !important;
  }
  
  /* Avatar sizes */
  .avatar {
    width: 40px;
    height: 40px;
  }
  
  .avatar.avatar-lg {
    width: 56px;
    height: 56px;
  }
  
  .avatar.avatar-xl {
    width: 80px;
    height: 80px;
  }
  
  /* Media objects */
  .media {
    flex-direction: column;
    text-align: center;
  }
  
  .media .mr-3,
  .media .mr-4 {
    margin-right: 0 !important;
    margin-bottom: 0.75rem;
  }
  
  /* Testimonial cards */
  .card .media {
    flex-direction: row;
    text-align: left;
  }
  
  .card .media .mr-4 {
    margin-right: 1rem !important;
    margin-bottom: 0;
  }
  
  /* Icon sizes */
  .fs-50 {
    font-size: 36px !important;
  }
  
  .fs-40 {
    font-size: 30px !important;
  }
  
  /* Spacing utilities adjustments */
  .mt-5 {
    margin-top: 2rem !important;
  }
  
  .mt-6 {
    margin-top: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .mb-6 {
    margin-bottom: 2rem !important;
  }
  
  .mb-7 {
    margin-bottom: 2rem !important;
  }
  
  .py-7 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .py-8 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  /* Row gaps */
  .row.gap-y > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  .row.gap-y > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* ===========================================
   SMALL MOBILE BREAKPOINT (below 576px)
   =========================================== */
@media (max-width: 575px) {
  /* Container padding */
  :root {
    --container-padding: 20px;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Mobile menu padding matches container */
  .navbar-mobile {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Typography */
  h1, .h1 {
    font-size: 1.5rem;
  }
  
  h2, .h2 {
    font-size: 1.35rem;
  }
  
  h3, .h3 {
    font-size: 1.2rem;
  }
  
  .display-4 {
    font-size: 1.5rem;
  }
  
  /* Section spacing */
  .section {
    padding: 30px 0;
  }
  
  .section-header {
    margin-bottom: 25px;
  }
  
  /* Header */
  .header.h-fullscreen {
    padding: 70px 15px 50px;
  }
  
  .header h1 {
    font-size: 1.5rem;
  }
  
  /* Stats - stack vertically */
  .row.text-center.text-white .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }
  
  .row.text-center.text-white .display-4 {
    font-size: 1.5rem;
  }
  
  .row.text-center.text-white .lead-2 {
    font-size: 0.875rem;
  }
  
  /* Process steps - 2 per row */
  .col-6.col-md-4.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1.5rem;
  }
  
  /* Values/Benefits grid - single column */
  .col-md-6.col-lg-3,
  .col-md-6.col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* Cards */
  .card-body {
    padding: 1rem;
  }
  
  .card-body.p-5,
  .card-body.p-6 {
    padding: 1rem !important;
  }
  
  /* Feature icons */
  .icon-wrapper {
    width: 60px !important;
    height: 60px !important;
  }
  
  .icon-wrapper i {
    font-size: 24px !important;
  }
  
  /* Footer columns - full width */
  .footer .col-6,
  .footer .col-6.col-md-3.col-lg-3,
  .footer .col-6.col-md-3.col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .footer .col-12.col-lg-4 {
    text-align: center;
  }
  
  .footer .col-12.col-lg-4 .text-muted {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer .nav.flex-column {
    align-items: flex-start;
  }
  
  .footer h6 {
    text-align: left;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .btn-lg {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* Newsletter form */
  .input-group {
    flex-direction: column;
  }
  
  .input-group .form-control {
    border-radius: 0.25rem !important;
    margin-bottom: 0.5rem;
  }
  
  .input-group .btn {
    border-radius: 0.25rem !important;
    width: 100%;
  }
  
  /* Badge */
  .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
  }
  
  /* Social icons */
  .social a {
    width: 32px;
    height: 32px;
    margin: 0 3px;
  }
  
  /* Career job cards */
  .card-body.p-5 .row.align-items-center {
    flex-direction: column;
  }
  
  .card-body.p-5 .col-lg-4.text-lg-right {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .card-body.p-5 .col-lg-4 .btn {
    width: 100%;
  }
  
  /* Partner logos - smaller */
  .partner-logo {
    max-height: 30px !important;
  }
  
  /* Testimonial text */
  .text-quoted {
    font-size: 0.9rem;
  }
}

/* ===========================================
   RESPONSIVE COMPONENT FIXES
   =========================================== */

/* Service cards responsive */
@media (max-width: 991px) {
  .card[style*="min-height: 480px"] {
    min-height: auto !important;
  }
  
  .icon-wrapper[style*="width: 80px"] {
    width: 60px !important;
    height: 60px !important;
  }
  
  .icon-wrapper i[style*="font-size: 32px"] {
    font-size: 24px !important;
  }
}

/* Process section responsive */
@media (max-width: 767px) {
  .process-step {
    padding: 0 5px;
  }
  
  .step-number[style*="width: 50px"] {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Contact page responsive */
@media (max-width: 991px) {
  .col-lg-7[data-aos="fade-right"] {
    order: 1;
  }
  
  .col-lg-4.ml-auto[data-aos="fade-left"] {
    order: 2;
    margin-left: 0 !important;
  }
}

/* Modal responsive fixes */
@media (max-width: 767px) {
  .modal-lg .modal-body .row {
    flex-direction: column;
  }
  
  .modal-lg .modal-body .col-md-8,
  .modal-lg .modal-body .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  .modal-lg .modal-body .col-md-4 {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
  }
}

/* Card footer responsive */
@media (max-width: 575px) {
  .card-footer .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }
  
  .card-footer .ml-auto {
    margin-left: 0 !important;
  }
}

/* Badge responsive wrapping */
@media (max-width: 575px) {
  .card-footer .badge {
    margin-bottom: 0.25rem;
  }
}

/* Featured blog post responsive */
@media (max-width: 991px) {
  .section.bg-gray .col-lg-6[data-aos="fade-right"],
  .section.bg-gray .col-lg-6[data-aos="fade-left"] {
    text-align: center;
  }
  
  .section.bg-gray .col-lg-6[data-aos="fade-left"] {
    margin-top: 2rem;
  }
  
  .section.bg-gray .d-flex.align-items-center.mt-4 {
    justify-content: center;
  }
}

/* Culture section image grid responsive */
@media (max-width: 575px) {
  .col-6 img.rounded.shadow-3 {
    margin-bottom: 0.75rem !important;
  }
  
  .col-6.mt-5 {
    margin-top: 0 !important;
  }
}

/* Job cards responsive */
@media (max-width: 991px) {
  .card-body.p-5 .row.align-items-center {
    flex-direction: column;
    text-align: center;
  }
  
  .card-body.p-5 .col-lg-8 {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .card-body.p-5 .col-lg-4 {
    width: 100%;
  }
  
  .card-body.p-5 .col-lg-4.text-lg-right {
    text-align: center !important;
  }
}

/* Responsive gap utility */
.gap-xy {
  gap: 0.75rem;
}

@media (max-width: 575px) {
  .gap-xy {
    gap: 0.5rem;
  }
}

/* Responsive avatar in media */
@media (max-width: 575px) {
  .media.align-items-center {
    flex-direction: row !important;
    text-align: left !important;
  }
  
  .media.align-items-center .avatar {
    margin-right: 0.75rem !important;
    margin-bottom: 0 !important;
  }
}

/* Fix for inline styles on mobile */
@media (max-width: 767px) {
  [style*="row-gap: 40px"] {
    row-gap: 20px !important;
  }
  
  .px-4 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .p-6 {
    padding: 1.25rem !important;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.25);
}

/* Scroll Top Button - Responsive */
@media (max-width: 767px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .scroll-top i {
    font-size: 14px;
  }
}

/* ===========================================
   TOUCH-FRIENDLY IMPROVEMENTS
   =========================================== */
/* Increase tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .social a {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Remove hover effects that don't work on touch */
  .card.hover-shadow-6:hover {
    transform: none;
  }
  
  /* Add active states for touch feedback */
  .btn:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
  
  .card:active {
    transform: scale(0.99);
  }
  
  .nav-link:active {
    opacity: 0.7;
  }
  
  /* Disable parallax on touch devices for better performance */
  .jarallax {
    background-attachment: scroll !important;
  }
  
  /* Smoother scrolling */
  * {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===========================================
   ACCESSIBILITY IMPROVEMENTS
   =========================================== */
/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.3s ease;
}

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

/* Reduced motion for users who prefer it */
@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;
  }
  
  .scroll-top {
    transition: none;
  }
  
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }
  
  .card {
    border-width: 2px;
  }
  
  .nav-link {
    text-decoration: underline;
  }
}

/* ===========================================
   RESPONSIVE UTILITIES
   =========================================== */
/* Hide/show based on breakpoints */
.d-mobile-only {
  display: none !important;
}

.d-desktop-only {
  display: block !important;
}

@media (max-width: 991px) {
  .d-mobile-only {
    display: block !important;
  }
  
  .d-desktop-only {
    display: none !important;
  }
}

/* Text alignment responsive */
@media (max-width: 991px) {
  .text-lg-left {
    text-align: left !important;
  }
  
  .text-lg-center {
    text-align: center !important;
  }
  
  .text-lg-right {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .text-md-left {
    text-align: left !important;
  }
  
  .text-md-center {
    text-align: center !important;
  }
  
  .text-md-right {
    text-align: center !important;
  }
}

/* Responsive flex utilities */
@media (max-width: 767px) {
  .flex-column-mobile {
    flex-direction: column !important;
  }
  
  .align-items-center-mobile {
    align-items: center !important;
  }
  
  .justify-content-center-mobile {
    justify-content: center !important;
  }
  
  .w-100-mobile {
    width: 100% !important;
  }
}

/* ===========================================
   LANDSCAPE ORIENTATION FIXES
   =========================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .h-fullscreen {
    min-height: auto;
    padding: 60px 0;
  }
  
  .header.h-fullscreen {
    min-height: auto;
    padding: 80px 0 60px;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* ===========================================
   RETINA/HIGH-DPI DISPLAY FIXES
   =========================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders */
  .card {
    border-width: 0.5px;
  }
  
  .btn {
    border-width: 0.5px;
  }
  
  /* Better icon rendering */
  [class*="ti-"],
  [class*="fa-"] {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===========================================
   DARK MODE SUPPORT (if user prefers)
   =========================================== */
@media (prefers-color-scheme: dark) {
  /* This is a placeholder - can be expanded if dark mode is desired */
  /* Currently maintains light theme */
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .scroll-top,
  .btn-group-toggle,
  .modal {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 20px 0;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  .container {
    max-width: 100%;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
}

/* ========================================
   SIGN IN PAGE STYLES
   ======================================== */

.signin-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Styles */
.signin-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.signin-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #1a1a2e 100%);
}

.signin-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.02) 0%, transparent 60%);
}

/* Floating Shapes Animation */
.signin-floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  animation-delay: -5s;
  animation-duration: 15s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.shape-4 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: 20%;
  animation-delay: -7s;
  animation-duration: 22s;
}

.shape-5 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 30%;
  animation-delay: -12s;
  animation-duration: 16s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, 20px) rotate(-5deg);
  }
  75% {
    transform: translate(30px, 10px) rotate(3deg);
  }
}

/* Left Side Branding */
.signin-branding {
  padding-right: 60px;
}

.signin-brand-content {
  max-width: 480px;
}

.signin-logo-link {
  display: inline-block;
  margin-bottom: 40px;
}

.signin-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.signin-brand-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.signin-brand-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Feature Items */
.signin-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.signin-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.signin-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.signin-feature-icon i {
  font-size: 20px;
  color: #fff;
}

.signin-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signin-feature-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.signin-feature-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Sign In Card */
.signin-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.signin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
}

/* Mobile Logo */
.signin-mobile-logo {
  text-align: center;
  margin-bottom: 32px;
}

.signin-mobile-logo img {
  height: 40px;
  width: auto;
}

/* Card Header */
.signin-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.signin-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.signin-subtitle {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

/* Form Styles */
.signin-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.signin-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signin-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.signin-label i {
  font-size: 14px;
  color: #9ca3af;
}

.signin-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signin-forgot-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.signin-forgot-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.signin-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 0.9375rem;
  color: #1a1a2e;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.signin-input::placeholder {
  color: #9ca3af;
}

.signin-input:hover {
  border-color: #d1d5db;
}

.signin-input:focus {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

/* Password Toggle */
.signin-password-wrapper {
  position: relative;
}

.signin-password-wrapper .signin-input {
  padding-right: 48px;
}

.signin-password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.signin-password-toggle:hover {
  color: #6b7280;
}

/* Custom Checkbox */
.signin-remember-row {
  margin-top: -8px;
}

.signin-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.signin-checkbox input {
  display: none;
}

.signin-checkbox-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.signin-checkbox-mark::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.2s ease;
  margin-top: -2px;
}

.signin-checkbox input:checked + .signin-checkbox-mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.signin-checkbox input:checked + .signin-checkbox-mark::after {
  transform: rotate(-45deg) scale(1);
}

.signin-checkbox-text {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Primary Button */
.signin-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
  margin-top: 8px;
}

.signin-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
}

.signin-btn-primary:active {
  transform: translateY(0);
}

.signin-btn-primary i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.signin-btn-primary:hover i {
  transform: translateX(4px);
}

/* Divider */
.signin-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.signin-divider span {
  font-size: 0.8125rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* Social Buttons */
.signin-social-buttons {
  display: flex;
  gap: 12px;
}

.signin-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.signin-social-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #1a1a2e;
}

.signin-social-btn i {
  font-size: 18px;
}

.signin-social-google:hover {
  border-color: #ea4335;
  color: #ea4335;
}

.signin-social-github:hover {
  border-color: #333;
  color: #333;
}

.signin-social-microsoft:hover {
  border-color: #00a4ef;
  color: #00a4ef;
}

.signin-social-linkedin:hover {
  border-color: #0077b5;
  color: #0077b5;
}

/* Footer */
.signin-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}

.signin-footer p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

.signin-signup-link {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.signin-signup-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Back to Home */
.signin-back-home {
  text-align: center;
  margin-top: 24px;
}

.signin-back-home a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.signin-back-home a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.signin-back-home i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.signin-back-home a:hover i {
  transform: translateX(-4px);
}

/* Sign In Error Message */
.signin-error-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.08));
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
}

.signin-error-message i {
  font-size: 20px;
  flex-shrink: 0;
}

.signin-error-message.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.signin-btn-primary .spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.signin-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .signin-card {
    padding: 40px 32px;
    border-radius: 20px;
  }
  
  .signin-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .signin-card {
    padding: 32px 24px;
    border-radius: 16px;
    margin: 0 -8px;
  }
  
  .signin-input {
    height: 48px;
  }
  
  .signin-btn-primary {
    height: 52px;
  }
  
  .signin-social-buttons {
    flex-direction: column;
  }
  
  .signin-social-btn {
    height: 44px;
  }
}

/* =====================================================
   SIGN UP / ACCOUNT REQUEST PAGE STYLES
   ===================================================== */

.signup-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background Styling - Reuse signin styles */
.signup-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.signup-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #1a1a2e 100%);
}

.signup-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.02) 0%, transparent 60%);
}

.signup-floating-shapes .floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  animation: float 20s ease-in-out infinite;
}

.signup-floating-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.signup-floating-shapes .shape-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  animation-delay: -5s;
}

.signup-floating-shapes .shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  animation-delay: -10s;
}

.signup-floating-shapes .shape-4 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 10%;
  animation-delay: -15s;
}

.signup-floating-shapes .shape-5 {
  width: 250px;
  height: 250px;
  top: 60%;
  right: 30%;
  animation-delay: -7s;
}

.signup-floating-shapes .shape-6 {
  width: 180px;
  height: 180px;
  top: 20%;
  left: 40%;
  animation-delay: -12s;
}

/* Left Branding Section */
.signup-branding {
  padding-right: 60px;
}

.signup-brand-content {
  color: #fff;
}

.signup-logo-link {
  display: inline-block;
  margin-bottom: 40px;
}

.signup-logo {
  height: 48px;
  filter: brightness(0) invert(1);
}

.signup-brand-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}

.signup-brand-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

/* Trust Items */
.signup-trust-section {
  margin-bottom: 40px;
}

.signup-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.signup-trust-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #4ade80;
  font-size: 12px;
}

/* Stats Section */
.signup-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signup-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.signup-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Card Styling */
.signup-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.signup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark), var(--color-primary));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Mobile Logo */
.signup-mobile-logo {
  text-align: center;
  margin-bottom: 32px;
}

.signup-mobile-logo img {
  height: 40px;
}

/* Card Header */
.signup-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.signup-form-compact ~ .signup-footer,
.signup-card:has(.signup-form-compact) .signup-card-header {
  margin-bottom: 24px;
}

.signup-header-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-primary-rgb), 0.05));
  border-radius: 16px;
  color: var(--color-primary);
  font-size: 28px;
}

.signup-card:has(.signup-form-compact) .signup-header-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  font-size: 22px;
  border-radius: 12px;
}

.signup-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.signup-card:has(.signup-form-compact) .signup-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.signup-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

.signup-card:has(.signup-form-compact) .signup-subtitle {
  font-size: 0.875rem;
}

/* Form Styling */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-form.signup-form-compact {
  gap: 14px;
}

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

.signup-form-compact .signup-form-row {
  gap: 14px;
}

.signup-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signup-form-compact .signup-form-group {
  gap: 5px;
}

/* Checkboxes in a row */
.signup-checkboxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.signup-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.signup-form-compact .signup-label {
  font-size: 0.8125rem;
  gap: 6px;
}

.signup-label i {
  font-size: 14px;
  color: var(--color-primary);
  opacity: 0.8;
}

.signup-form-compact .signup-label i {
  font-size: 12px;
}

.signup-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-size: 0.9375rem;
  color: #1a1a2e;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.signup-form-compact .signup-input {
  height: 44px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.signup-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

.signup-input::placeholder {
  color: #9ca3af;
}

.signup-textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 0.9375rem;
  color: #1a1a2e;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.signup-form-compact .signup-textarea {
  padding: 12px 14px;
  font-size: 0.875rem;
  min-height: 80px;
  border-radius: 10px;
}

.signup-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

.signup-textarea::placeholder {
  color: #9ca3af;
}

/* Checkbox Styling */
.signup-checkbox-row {
  margin-top: 4px;
}

.signup-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.signup-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.signup-checkbox-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #f9fafb;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.signup-checkbox-mark::after {
  content: '\e64c';
  font-family: 'themify';
  font-size: 10px;
  color: #fff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.signup-checkbox input:checked ~ .signup-checkbox-mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.signup-checkbox input:checked ~ .signup-checkbox-mark::after {
  opacity: 1;
  transform: scale(1);
}

.signup-checkbox-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.signup-checkbox-text a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.signup-checkbox-text a:hover {
  text-decoration: underline;
}

/* Submit Button */
.signup-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.35);
  margin-top: 8px;
}

.signup-form-compact .signup-btn-primary {
  height: 48px;
  font-size: 0.9375rem;
  border-radius: 10px;
  margin-top: 4px;
}

.signup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
}

.signup-btn-primary:active {
  transform: translateY(0);
}

.signup-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.signup-btn-primary i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.signup-btn-primary:hover i {
  transform: translateX(4px);
}

.signup-btn-primary .spinning {
  animation: spin 1s linear infinite;
}

/* Success Message */
.signup-success-message {
  text-align: center;
  padding: 40px 20px;
}

.signup-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 36px;
  animation: successPop 0.5s ease-out;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.signup-success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.signup-success-message p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.6;
}

.signup-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-btn-secondary:hover {
  background: rgba(var(--color-primary-rgb), 0.15);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Footer */
.signup-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.signup-form-compact + .signup-footer {
  margin-top: 18px;
  padding-top: 16px;
}

.signup-footer p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

.signup-signin-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-signin-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Back to Home */
.signup-back-home {
  text-align: center;
  margin-top: 24px;
}

.signup-back-home a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 10px 16px;
  border-radius: 8px;
}

.signup-back-home a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.signup-back-home i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.signup-back-home a:hover i {
  transform: translateX(-4px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .signup-card {
    padding: 40px 32px;
    border-radius: 20px;
  }
  
  .signup-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .signup-form-row {
    grid-template-columns: 1fr;
  }
  
  .signup-checkboxes-row {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .signup-card {
    padding: 32px 24px;
    border-radius: 16px;
    margin: 0 -8px;
  }
  
  .signup-input {
    height: 48px;
  }
  
  .signup-btn-primary {
    height: 52px;
  }

  .signup-header-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* ===========================================
   CONSTELLATION EFFECT ENHANCEMENT
   =========================================== */
.header {
  position: relative;
  overflow: visible;
}

.header .constellation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}

.header .container {
  position: relative;
  z-index: 2;
}

/* Enhanced visibility for constellation effect */
.header .constellation canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===========================================
   SERVICES PAGE ENHANCEMENTS
   =========================================== */

/* Service Card Animations */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-wrapper {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .btn-outline-primary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Process Step Card Animations */
.process-step-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card .step-number {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior for service cards */
.service-card {
  scroll-margin-top: 100px;
}

/* Enhanced button styles */
.btn-white {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-white {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Feature list item hover effect */
.service-card .d-flex.align-items-start:hover {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}

/* Improved card shadows */
.service-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

/* Process section improvements */
.process-step-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* CTA section card improvements */
.card.shadow-lg {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

/* Services page section overflow fixes */
.section {
  overflow: visible;
}

.service-card,
.process-step-card {
  overflow: visible;
}

/* Prevent scroll trapping in cards */
.service-card,
.service-card .card-body,
.process-step-card {
  -webkit-overflow-scrolling: auto;
  overscroll-behavior: auto;
}

/* Ensure process steps are fully visible */
.process-step-card {
  min-height: 200px;
}

/* Ensure all process steps wrap properly */
.row.g-3.g-md-4.justify-content-center {
  flex-wrap: wrap;
}

.row.g-3.g-md-4.justify-content-center > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Container max width for process section */
.container.position-relative {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Responsive service cards */
@media (max-width: 991px) {
  .service-card {
    margin-bottom: 2rem;
  }
  
  .process-step-card {
    min-height: 180px;
  }
}

@media (max-width: 767px) {
  .service-card {
    min-height: auto !important;
    margin-bottom: 1.5rem;
  }
  
  .process-step-card {
    margin-bottom: 1rem;
    min-height: 160px;
  }
  
  .header {
    padding: 80px 0 60px !important;
  }
}

@media (max-width: 575px) {
  .process-step-card {
    min-height: 150px;
    padding: 1rem !important;
  }
}

/* ===========================================
   ENHANCED CAREERS / OPEN POSITIONS STYLES
   =========================================== */

.careers-positions-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

/* Section Header */
.careers-header {
  margin-bottom: 3rem;
}

.careers-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12), rgba(var(--color-primary-rgb), 0.06));
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.careers-header-badge i {
  font-size: 0.9rem;
}

.careers-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.careers-header .lead {
  color: #64748b;
  font-size: 1.1rem;
  margin: 0;
}

.careers-header hr {
  display: none;
}

/* Positions Count */
.positions-count-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.positions-count {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.positions-count .count-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}

.positions-count .count-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

/* Job Cards Container */
.job-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Individual Job Card */
.job-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 20px 50px rgba(var(--color-primary-rgb), 0.1);
  border-color: transparent;
}

/* Colored Accent Bar */
.job-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.job-card:hover .job-card-accent {
  opacity: 1;
}

/* Card Content */
.job-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.job-card-main {
  flex: 1;
  min-width: 0;
}

/* Job Header */
.job-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.job-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-primary-rgb), 0.05));
  border-radius: 14px;
  color: var(--color-primary);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.job-card:hover .job-icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  color: #fff;
  transform: scale(1.05);
}

.job-title-section {
  flex: 1;
  min-width: 0;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 0.625rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.job-card:hover .job-title {
  color: var(--color-primary);
}

/* Job Meta Tags */
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.875rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.3s ease;
}

.job-meta-item i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.job-meta-item.job-department {
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12), rgba(var(--color-primary-rgb), 0.06));
  color: var(--color-primary);
}

.job-meta-item.job-department i {
  opacity: 1;
}

.job-card:hover .job-meta-item {
  background: #e2e8f0;
}

.job-card:hover .job-meta-item.job-department {
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.18), rgba(var(--color-primary-rgb), 0.1));
}

/* Job Description */
.job-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  padding-left: calc(52px + 1.25rem); /* Align with title */
}

/* View Job Button */
.job-card-action {
  flex-shrink: 0;
}

.btn-view-job {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-view-job i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.btn-view-job:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.35);
  color: #fff;
}

.btn-view-job:hover i {
  transform: translateX(4px);
}

/* Hover Effect Background */
.job-card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.02), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.job-card:hover .job-card-hover-effect {
  opacity: 1;
}

/* No Positions Card */
.no-positions-card {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 20px;
  border: 2px dashed #e2e8f0;
}

.no-positions-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.no-positions-icon i {
  font-size: 2rem;
  color: #94a3b8;
}

.no-positions-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 0.75rem;
}

.no-positions-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 450px;
  margin: 0 auto 1.75rem;
}

.btn-send-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-send-resume:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.25);
}

/* Background Decoration */
.careers-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.04), rgba(var(--color-primary-rgb), 0.01));
}

.decoration-circle-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
}

.decoration-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .careers-header h2 {
    font-size: 2rem;
  }
  
  .job-card-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .job-card-action {
    align-self: flex-start;
  }
  
  .job-description {
    padding-left: 0;
  }
  
  .job-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .job-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .careers-positions-section {
    padding: 50px 0;
  }
  
  .careers-header h2 {
    font-size: 1.75rem;
  }
  
  .careers-header .lead {
    font-size: 1rem;
  }
  
  .positions-count {
    padding: 0.75rem 1.25rem;
  }
  
  .positions-count .count-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .job-card-content {
    padding: 1.25rem;
  }
  
  .job-title {
    font-size: 1.125rem;
  }
  
  .job-meta {
    gap: 0.5rem;
  }
  
  .job-meta-item {
    padding: 0.3rem 0.625rem;
    font-size: 0.75rem;
  }
  
  .job-description {
    font-size: 0.875rem;
  }
  
  .btn-view-job {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
  
  .no-positions-card {
    padding: 3rem 1.5rem;
  }
  
  .no-positions-icon {
    width: 64px;
    height: 64px;
  }
  
  .no-positions-icon i {
    font-size: 1.5rem;
  }
  
  .no-positions-card h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 575px) {
  .careers-header-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
  
  .job-icon-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.1rem;
  }
  
  .job-meta-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 6px;
  }
}

/* ===========================================
   JOB MODAL STYLES
   =========================================== */

.job-modal .modal-dialog {
  max-width: 950px;
  margin: 1rem auto;
}

.job-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

/* Modal Header - Compact */
.job-modal-header {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, var(--color-primary)) 100%);
  overflow: hidden;
}

.job-modal-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.job-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.job-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.job-modal-close:focus {
  outline: none;
}

.job-modal-header-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.job-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.job-modal-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.job-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.job-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}

.job-modal-tag i {
  font-size: 0.65rem;
  opacity: 0.8;
}

.job-modal-tag-department {
  background: rgba(255, 255, 255, 0.25);
}

/* Modal Body - Two Column Layout */
.job-modal-body {
  padding: 1.5rem;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Modal Sections - Compact */
.job-modal-section {
  margin-bottom: 0;
}

.job-modal-section-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.job-modal-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.12), rgba(var(--color-primary-rgb), 0.06));
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 0.875rem;
}

.job-modal-section-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1f36;
  margin: 0;
}

.job-modal-description {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* About section spans full width */
.job-modal-section:first-child {
  grid-column: 1 / -1;
}

/* Modal Lists - Compact */
.job-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.4;
  border-bottom: 1px solid #f1f5f9;
}

.job-modal-list li:last-child {
  border-bottom: none;
}

.job-modal-list .list-check,
.job-modal-list .list-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  color: #fff;
  font-size: 0.5rem;
  margin-top: 1px;
}

.job-modal-list-responsibilities .list-arrow {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  border-radius: 5px;
}

.job-modal-list-responsibilities .list-arrow i {
  font-size: 0.45rem;
}

/* Modal CTA - Compact */
.job-modal-cta {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.job-modal-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.job-modal-cta-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 0.125rem;
}

.job-modal-cta-text p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.btn-apply-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, var(--color-primary)));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-apply-now i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.btn-apply-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.4);
  color: #fff;
}

.btn-apply-now:hover i {
  transform: translateX(3px);
}

/* Modal Animation */
.job-modal.fade .modal-dialog {
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease-out;
}

.job-modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Responsive */
@media (max-width: 991px) {
  .job-modal .modal-dialog {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .job-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .job-modal-header {
    padding: 1rem 1.25rem;
  }
  
  .job-modal-header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .job-modal-meta {
    justify-content: center;
  }
  
  .job-modal-body {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  
  .job-modal-section:first-child {
    grid-column: 1;
  }
  
  .job-modal-cta {
    grid-column: 1;
  }
  
  .job-modal-cta-content {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .btn-apply-now {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .job-modal-header {
    padding: 0.875rem 1rem;
  }
  
  .job-modal-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .job-modal-icon i {
    font-size: 1rem;
  }
  
  .job-modal-title {
    font-size: 1.125rem;
  }
  
  .job-modal-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }
  
  .job-modal-body {
    padding: 1rem;
    gap: 1rem;
  }
  
  .job-modal-section-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.75rem;
  }
  
  .job-modal-section-header h4 {
    font-size: 0.85rem;
  }
  
  .job-modal-description {
    font-size: 0.8rem;
  }
  
  .job-modal-list li {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }
  
  .job-modal-list .list-check,
  .job-modal-list .list-arrow {
    width: 16px;
    height: 16px;
    min-width: 16px;
    font-size: 0.45rem;
  }
}

/* ===========================================
   ENHANCED CONTACT SECTION STYLES
   =========================================== */

/* Contact Form Wrapper */
.contact-form-wrapper {
  position: relative;
}

.contact-form-header {
  position: relative;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 99, 102, 241), 0.1) 0%, rgba(var(--color-primary-rgb, 99, 102, 241), 0.05) 100%);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.contact-badge i {
  font-size: 1rem;
}

/* Modern Form Floating Labels */
.form-floating-custom {
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
}

.form-floating-custom label {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: #8892a6;
  font-size: 0.95rem;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 0 0.25rem;
  z-index: 1;
}

.form-floating-custom.textarea-wrapper label {
  top: 1.5rem;
  transform: translateY(0);
}

.form-control-modern {
  width: 100%;
  padding: 1.35rem 1.25rem;
  min-height: 60px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1f36;
  background-color: #f8f9fc;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control-modern:hover {
  background-color: #f3f4f8;
}

.form-control-modern:focus {
  background-color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb, 99, 102, 241), 0.1);
  outline: none;
}

/* Floating label animation */
.form-control-modern:focus ~ label,
.form-control-modern:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  padding: 0 0.5rem;
  left: 1rem;
}

.form-floating-custom.textarea-wrapper .form-control-modern:focus ~ label,
.form-floating-custom.textarea-wrapper .form-control-modern:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  transform: translateY(0);
}

/* Select wrapper styling */
.select-wrapper {
  position: relative;
}

.select-wrapper select.form-control-modern {
  cursor: pointer;
  padding: 0.875rem 3rem 0.875rem 1.25rem;
  height: 56px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  color: #8892a6;
  pointer-events: none;
  transition: transform 0.3s ease;
  z-index: 2;
}

.select-wrapper select:focus ~ .select-arrow {
  color: var(--color-primary);
}

/* Select label positioning - always at top for selects */
.form-floating-custom.select-wrapper label {
  position: absolute;
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: linear-gradient(to bottom, transparent 45%, #f8f9fc 45%, #f8f9fc 100%);
  padding: 0 0.5rem;
  transform: none;
  z-index: 1;
}

.form-floating-custom.select-wrapper select:focus ~ label {
  background: linear-gradient(to bottom, transparent 45%, #fff 45%, #fff 100%);
}

/* Style the placeholder option differently */
.select-wrapper select.form-control-modern option[value=""][disabled] {
  color: #8892a6;
}

/* Textarea specific */
.textarea-wrapper textarea.form-control-modern {
  min-height: 160px;
  resize: vertical;
  padding-top: 1.5rem;
}

/* Submit Button */
.btn-contact-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, var(--color-primary)) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb, 99, 102, 241), 0.3);
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--color-primary-rgb, 99, 102, 241), 0.4);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

.btn-contact-submit .btn-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.btn-contact-submit .btn-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-contact-submit:hover .btn-hover-effect {
  left: 100%;
}

/* Contact Info Card */
.contact-info-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-info-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.contact-info-content {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-info-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: #1a1f36;
}

.title-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.25rem;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  background: #f8f9fc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: #f3f4f8;
  transform: translateX(4px);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #fff;
  border-radius: 10px;
  color: var(--color-primary);
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-info-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8892a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1f36;
  word-break: break-word;
}

.info-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-link:hover {
  color: var(--color-primary-dark, var(--color-primary));
}

/* Social Section */
.contact-social-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f5;
}

.social-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8892a6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f8f9fc;
  border-radius: 10px;
  color: #8892a6;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.social-facebook:hover {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.social-link.social-twitter:hover {
  background: #1da1f2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.35);
}

.social-link.social-linkedin:hover {
  background: #0a66c2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

.social-link.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}

/* Decorative Elements */
.contact-card-decoration {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .contact-info-card {
    margin-top: 3rem;
  }
  
  .contact-info-content {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .contact-form-header h2 {
    font-size: 1.75rem;
  }
  
  .contact-info-item {
    padding: 1rem;
  }
  
  .contact-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.1rem;
  }
  
  .title-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .btn-contact-submit {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .contact-info-content {
    padding: 1.5rem;
  }
  
  .contact-social-links {
    justify-content: center;
  }
}

/* ============================================
   Contact Form Success Message
   ============================================ */

.contact-success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.contact-success-message.animate-success {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: successPop 0.5s ease-out 0.3s both;
}

.success-icon-wrapper i {
  font-size: 2.5rem;
  color: #fff;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  animation: fadeIn 0.5s ease-out 0.5s both;
}

.success-text {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease-out 0.7s both;
}

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

.contact-success-message .btn {
  animation: fadeIn 0.5s ease-out 0.9s both;
}

/* Loading state for submit button */
.btn-contact-submit:disabled {
  opacity: 0.8;
  cursor: wait;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
}

.btn-loading .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===================================================================
   Newsletter Subscription Validation
   =================================================================== */

.newsletter-form {
  position: relative;
}

.newsletter-btn {
  position: relative;
  overflow: hidden;
  min-width: 50px;
  transition: all 0.3s ease;
}

.newsletter-btn .ti-arrow-right {
  transition: all 0.3s ease;
}

.newsletter-btn .newsletter-check {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.3s ease;
  color: #fff;
}

/* Success state */
.newsletter-btn.success {
  background: #28a745 !important;
  border-color: #28a745 !important;
}

.newsletter-btn.success .ti-arrow-right {
  opacity: 0;
  transform: scale(0);
}

.newsletter-btn.success .newsletter-check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: checkPop 0.4s ease-out;
}

@keyframes checkPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Success message animation */
.newsletter-success {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Email input success state */
.newsletter-form input.success {
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.05);
}

/* ===================================================================
   Home Page Modern Design Enhancements
   =================================================================== */

/* Service Card Hover Effects */
.card.shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.shadow-sm:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Hero Section Enhancements */
.header {
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: 1;
}

/* Stats Section Animation */
section[style*="background: linear-gradient"] {
  position: relative;
  overflow: hidden;
}

/* Technology Icons Hover */
.col-lg-2 .p-4 {
  transition: transform 0.3s ease;
}

.col-lg-2 .p-4:hover {
  transform: translateY(-5px);
}

.col-lg-2 .p-4 i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.col-lg-2 .p-4:hover i {
  transform: scale(1.1);
}

/* Responsive adjustments for hero section */
@media (max-width: 991.98px) {
  .header {
    min-height: 80vh !important;
    text-align: center;
  }
  
  .header .row {
    text-align: center;
  }
  
  .header .d-flex {
    justify-content: center !important;
  }
}

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

/* Button hover enhancements */
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
}
