/* ===================================
   ARCHITECTURE STUDIO - DEEP SPACE TEAL THEME
   Primary: #1A237E | Secondary: #00BFA5
   =================================== */

/* ROOT VARIABLES */
:root {
  --primary-color: #1A237E;
  --secondary-color: #00BFA5;
  --deep-space-teal: #0A2342;
  --accent-teal: #1B5E7E;
  --light-teal: #E0F7FA;
  --dark-gradient: linear-gradient(135deg, #0A2342 0%, #1A237E 50%, #0D47A1 100%);
  --teal-gradient: linear-gradient(135deg, #00BFA5 0%, #00897B 100%);
  --text-light: #FFFFFF;
  --text-dark: #212529;
  --transition-speed: 0.4s;
  --shadow-sm: 0 2px 8px rgba(0, 191, 165, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 191, 165, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 191, 165, 0.35);
}

/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F5F5F5;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* NAVIGATION */
.navbar {
  background: var(--dark-gradient) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
  transition: all var(--transition-speed) ease;
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-toggler {
  border-color: var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 191, 165, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300BFA5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.3rem;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light) !important;
  background-color: rgba(0, 191, 165, 0.2) !important;
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  background: var(--dark-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M50 0L100 50L50 100L0 50Z" fill="%2300BFA5" opacity="0.03"/%3E%3C/svg%3E');
  animation: heroPattern 20s linear infinite;
  z-index: 1;
}

@keyframes heroPattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.hero-section .position-absolute {
  z-index: 0;
  opacity: 0.15;
}

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

.hero-section .display-2 {
  font-weight: 800 !important;
  color: var(--text-light) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.2 !important;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.4rem !important;
  font-weight: 400;
  animation: fadeInUp 1.2s ease-out;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

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

/* BUTTONS */
.btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  transition: all var(--transition-speed) ease !important;
  border: 2px solid transparent !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem !important;
}

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-primary,
.btn-primary:focus {
  background: var(--teal-gradient) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00897B 0%, #00695C 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(0, 191, 165, 0.5) !important;
  color: var(--text-light) !important;
}

.btn-outline-light,
.btn-outline-light:focus {
  border-color: var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3) !important;
}

.btn-light,
.btn-light:focus {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
}

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(0, 191, 165, 0.4) !important;
}

.btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.85rem !important;
}

/* CARDS */
.card {
  border-radius: 16px !important;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  border: none !important;
  background: #FFFFFF !important;
}

.card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.card-body {
  padding: 2rem !important;
}

.card-header {
  background: var(--dark-gradient) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 1.2rem 1.5rem !important;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: #666 !important;
  line-height: 1.7;
}

.card.border-0 {
  box-shadow: var(--shadow-sm);
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* ICONS */
.bi {
  vertical-align: middle;
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--teal-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
}

.icon-box .bi {
  font-size: 2.5rem;
  color: var(--text-light) !important;
}

.icon-box:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.bi-lightning-charge-fill,
.bi-cpu-fill,
.bi-speedometer2,
.bi-check-circle-fill,
.bi-hdd-network-fill,
.bi-battery-charging,
.bi-speedometer,
.bi-shield-check,
.bi-gear-fill,
.bi-thermometer-half {
  color: var(--secondary-color) !important;
  font-size: 3rem;
}

.text-center .bi {
  transition: all var(--transition-speed) ease;
}

.text-center:hover .bi {
  transform: scale(1.15);
}

/* TYPOGRAPHY */
.display-2,
.display-4,
.display-5,
.display-6 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  line-height: 1.3 !important;
}

.text-white,
.text-white.display-2,
.text-white.display-4,
.text-white.display-5,
.text-white.display-6 {
  color: var(--text-light) !important;
}

.h4, .h5, .h6, h4, h5, h6 {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

.text-muted {
  color: #6C757D !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.small {
  font-size: 0.9rem;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

/* SECTIONS */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-4 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.pt-5 {
  padding-top: 5rem !important;
}

.pb-4 {
  padding-bottom: 3rem !important;
}

.pb-3 {
  padding-bottom: 2rem !important;
}

.my-4 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.my-5 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mt-5 {
  margin-top: 4rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 4rem !important;
}

/* BACKGROUNDS */
.bg-dark {
  background: var(--dark-gradient) !important;
}

.bg-light {
  background-color: #F8F9FA !important;
}

.bg-white {
  background-color: #FFFFFF !important;
}

.bg-opacity-75 {
  opacity: 0.95 !important;
  backdrop-filter: blur(10px);
}

/* SERVICE CARDS */
.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-details {
  padding: 2rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #E0F7FA 100%);
  border-radius: 12px;
  margin-top: 1.5rem;
}

/* IMAGES */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: all var(--transition-speed) ease;
}

.rounded {
  border-radius: 16px !important;
}

.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

.card-img-top {
  border-radius: 16px 16px 0 0 !important;
  height: 220px;
  object-fit: cover;
}

img:hover {
  transform: scale(1.02);
}

/* FORMS */
.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 10px !important;
  padding: 0.8rem 1.2rem !important;
  transition: all var(--transition-speed) ease !important;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 191, 165, 0.25) !important;
  background-color: #FFFFFF !important;
}

.form-label {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-bottom: 0.7rem !important;
}

.form-check-input {
  border: 2px solid var(--secondary-color) !important;
  width: 1.4em !important;
  height: 1.4em !important;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
  margin-left: 0.5rem;
}

.invalid-feedback {
  display: none;
  color: #DC3545 !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #DC3545 !important;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* ALERTS */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.2rem 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.alert-info {
  background-color: rgba(0, 191, 165, 0.1) !important;
  color: var(--primary-color) !important;
  border-left: 4px solid var(--secondary-color) !important;
}

/* BADGES */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.bg-success {
  background-color: #00BFA5 !important;
}

.bg-danger {
  background-color: #F44336 !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* LISTS */
.list-unstyled {
  padding-left: 0 !important;
  list-style: none !important;
}

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all var(--transition-speed) ease;
}

.list-unstyled a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  padding-left: 0.5rem;
}

.list-group-item {
  border: 1px solid rgba(0, 191, 165, 0.2) !important;
  border-radius: 10px !important;
  margin-bottom: 0.5rem !important;
  transition: all var(--transition-speed) ease;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.list-group-item:hover {
  background-color: rgba(0, 191, 165, 0.05) !important;
  border-color: var(--secondary-color) !important;
  transform: translateX(5px);
}

/* TABLES */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table {
  margin-bottom: 0 !important;
  background-color: #FFFFFF !important;
}

.table thead {
  background: var(--dark-gradient) !important;
  color: var(--text-light) !important;
}

.table th {
  border: none !important;
  padding: 1.2rem 1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.table td {
  padding: 1rem !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #E0E0E0 !important;
  color: var(--text-dark) !important;
}

.table-bordered {
  border: 2px solid var(--secondary-color) !important;
}

.table tbody tr:hover {
  background-color: rgba(0, 191, 165, 0.05) !important;
}

/* ACCORDION */
.accordion-item {
  border: 2px solid rgba(0, 191, 165, 0.2) !important;
  border-radius: 12px !important;
  margin-bottom: 1rem !important;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: #F8F9FA !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.2rem 1.5rem !important;
  border: none !important;
  transition: all var(--transition-speed) ease;
}

.accordion-button:not(.collapsed) {
  background: var(--teal-gradient) !important;
  color: var(--text-light) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 191, 165, 0.25) !important;
  border: none !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(18%) sepia(89%) saturate(2523%) hue-rotate(228deg) brightness(91%) contrast(99%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem !important;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.accordion-collapse {
  border: none !important;
}

/* TIMELINE */
.timeline-content {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
  border-left: 3px solid var(--secondary-color);
}

.timeline-badge {
  position: absolute;
  left: -2.5rem;
  background: var(--teal-gradient);
  color: var(--text-light) !important;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.timeline-content:last-child {
  padding-bottom: 0;
  border-left: none;
}

/* FOOTER */
footer {
  background: var(--dark-gradient) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

footer h5,
footer h6 {
  color: var(--text-light) !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 0.3rem;
}

footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

/* SOCIAL MEDIA ICONS */
.bi-facebook,
.bi-instagram,
.bi-twitter {
  font-size: 1.5rem;
  color: var(--text-light) !important;
  transition: all var(--transition-speed) ease;
  padding: 0.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
}

.bi-facebook:hover {
  background: #1877F2 !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.bi-instagram:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(221, 42, 123, 0.4);
}

.bi-twitter:hover {
  background: #1DA1F2 !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

/* UTILITIES */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-sticky {
  position: sticky !important;
  top: 80px;
}

.overflow-hidden {
  overflow: hidden !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-block {
  display: inline-block !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.justify-content-center {
  justify-content: center !important;
}

.gap-3 {
  gap: 1.5rem !important;
}

.g-3 {
  gap: 1.5rem !important;
}

.g-4 {
  gap: 2rem !important;
}

.g-5 {
  gap: 3rem !important;
}

.g-0 {
  gap: 0 !important;
}

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

.text-decoration-none {
  text-decoration: none !important;
}

.text-break {
  word-wrap: break-word !important;
  word-break: break-word !important;
}

.ms-auto {
  margin-left: auto !important;
}

.ms-1 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1.5rem !important;
}

.ms-4 {
  margin-left: 2rem !important;
}

.me-2 {
  margin-right: 0.75rem !important;
}

.me-3 {
  margin-right: 1.5rem !important;
}

.mx-3 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.p-3 {
  padding: 1.5rem !important;
}

.p-4 {
  padding: 2rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-3 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.border-0 {
  border: 0 !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(0, 191, 165, 0.2) !important;
}

.border-secondary {
  border-color: var(--secondary-color) !important;
}

.z-index-2 {
  z-index: 2;
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-link {
    margin: 0.3rem 0 !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 4rem 0;
  }
  
  .hero-section .display-2 {
    font-size: 2.5rem !important;
  }
  
  .hero-section .lead {
    font-size: 1.1rem !important;
  }
  
  .display-4 {
    font-size: 2.2rem !important;
  }
  
  .display-5 {
    font-size: 2rem !important;
  }
  
  .display-6 {
    font-size: 1.8rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .icon-box {
    width: 70px;
    height: 70px;
  }
  
  .icon-box .bi {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .mx-lg-5 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .pe-md-5 {
    padding-right: 1rem !important;
  }
  
  .p-lg-5 {
    padding: 2rem !important;
  }
  
  .text-md-start,
  .text-md-end,
  .text-lg-end {
    text-align: center !important;
  }
  
  .d-md-block {
    display: none !important;
  }
  
  .d-lg-block {
    display: none !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 2rem !important;
  }
  
  .position-sticky {
    position: relative !important;
    top: 0;
  }
  
  .timeline-content {
    padding-left: 2rem;
  }
  
  .timeline-badge {
    left: -2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .hero-section .display-2 {
    font-size: 2rem !important;
  }
  
  .hero-section .lead {
    font-size: 1rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .display-5 {
    font-size: 1.6rem !important;
  }
  
  .display-6 {
    font-size: 1.4rem !important;
  }
  
  .col-md-4,
  .col-md-6,
  .col-md-2,
  .col-md-3,
  .col-md-10 {
    margin-bottom: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  .icon-box {
    width: 60px;
    height: 60px;
  }
  
  .icon-box .bi {
    font-size: 1.8rem;
  }
  
  .card-body {
    padding: 1.2rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  footer {
    text-align: center;
  }
  
  .start-50 {
    left: auto !important;
  }
  
  .translate-middle-x {
    transform: none !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section .display-2 {
    font-size: 1.75rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .gap-3 {
    gap: 1rem !important;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .col-6 {
    margin-bottom: 1rem;
  }
  
  .table th,
  .table td {
    padding: 0.7rem 0.5rem !important;
    font-size: 0.85rem;
  }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background: var(--teal-gradient);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00897B 0%, #00695C 100%);
}

/* LOADING ANIMATION */
.loader {
  border: 4px solid #F3F3F3;
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* DIAGNOSTIC SYSTEMS */
.diagnostic-systems {
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(0, 191, 165, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

/* ACCESSIBILITY */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* FOCUS VISIBLE */
*:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 3px;
}

/* PRINT STYLES */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .table {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
}