/* Nordic Storm Architecture Studio - Custom Styles */

/* ============================================
   NORDIC STORM COLOR PALETTE & VARIABLES
   ============================================ */
:root {
  --nordic-primary: #2E3440;
  --nordic-secondary: #5E81AC;
  --nordic-light: #ECEFF4;
  --nordic-white: #ffffff;
  --nordic-accent: #88C0D0;
  --nordic-dark: #1a1f28;
  --nordic-gray: #4C566A;
  --nordic-hover: #81A1C1;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--nordic-primary) !important;
  background-color: var(--nordic-light) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  color: var(--nordic-primary) !important;
}

.lead {
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--nordic-gray) !important;
}

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

p {
  color: var(--nordic-gray) !important;
  margin-bottom: 1rem;
}

.text-white, .text-white * {
  color: var(--nordic-white) !important;
}

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

.text-muted {
  color: var(--nordic-gray) !important;
}

.text-light {
  color: var(--nordic-light) !important;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  background-color: var(--nordic-primary) !important;
  padding: 1rem 0 !important;
  transition: all var(--transition-speed) ease !important;
  box-shadow: 0 2px 10px rgba(46, 52, 64, 0.15);
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
  background-color: rgba(46, 52, 64, 0.95) !important;
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--nordic-white) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) ease;
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(94, 129, 172, 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='rgba%28255, 255, 255, 1%29' 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 1rem !important;
  margin: 0 0.2rem;
  transition: all var(--transition-speed) ease !important;
  position: relative;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--nordic-accent);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--nordic-white) !important;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--nordic-white) !important;
  font-weight: 600 !important;
}

.nav-link.active::after {
  width: 80%;
  background-color: var(--nordic-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  border-radius: 8px !important;
  transition: all var(--transition-speed) ease !important;
  border-width: 2px !important;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.8rem 2rem !important;
  font-size: 1rem !important;
}

.btn-primary {
  background-color: var(--nordic-secondary) !important;
  border-color: var(--nordic-secondary) !important;
  color: var(--nordic-white) !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--nordic-hover) !important;
  border-color: var(--nordic-hover) !important;
  color: var(--nordic-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(94, 129, 172, 0.3) !important;
}

.btn-outline-light {
  border-color: var(--nordic-white) !important;
  color: var(--nordic-white) !important;
  background-color: transparent !important;
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--nordic-white) !important;
  border-color: var(--nordic-white) !important;
  color: var(--nordic-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2) !important;
}

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

.btn-light:hover, .btn-light:focus {
  background-color: var(--nordic-white) !important;
  border-color: var(--nordic-white) !important;
  color: var(--nordic-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(236, 239, 244, 0.4) !important;
}

.btn-outline-secondary {
  border-color: var(--nordic-secondary) !important;
  color: var(--nordic-secondary) !important;
  background-color: transparent !important;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
  background-color: var(--nordic-secondary) !important;
  border-color: var(--nordic-secondary) !important;
  color: var(--nordic-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(94, 129, 172, 0.3) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.vh-100 {
  min-height: 100vh !important;
  position: relative;
}

.position-relative.vh-100 {
  background: linear-gradient(135deg, var(--nordic-primary) 0%, var(--nordic-gray) 100%);
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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="M0 0L100 100M100 0L0 100" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.3;
  z-index: 1;
}

.position-absolute.w-100.h-100 {
  z-index: 0;
  opacity: 0.4;
  filter: grayscale(20%);
}

.object-fit-cover {
  object-fit: cover !important;
}

.position-absolute.top-50.start-50.translate-middle {
  z-index: 10 !important;
  max-width: 90%;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */
.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;
}

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

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

/* ============================================
   CARDS & CONTENT BLOCKS
   ============================================ */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all var(--transition-speed) ease !important;
  background-color: var(--nordic-white) !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(46, 52, 64, 0.15) !important;
}

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

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

.card-text {
  color: var(--nordic-gray) !important;
}

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

/* ============================================
   IMAGES
   ============================================ */
.img-fluid {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

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

.rounded-top {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}

.rounded-bottom {
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.shadow {
  box-shadow: 0 10px 30px rgba(46, 52, 64, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px rgba(46, 52, 64, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 20px 40px rgba(46, 52, 64, 0.15) !important;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  background-color: var(--nordic-secondary) !important;
  color: var(--nordic-white) !important;
  font-size: 0.85rem;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  transition: all var(--transition-speed) ease;
  background-color: var(--nordic-white);
  border-radius: 12px;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(46, 52, 64, 0.15);
}

.team-card .rounded-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.team-card .bg-white {
  background-color: var(--nordic-white) !important;
  padding: 1.5rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--nordic-secondary);
  transform: translateX(-50%);
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background-color: var(--nordic-secondary);
  border: 4px solid var(--nordic-light);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-content {
  background-color: var(--nordic-white);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.timeline-content:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(46, 52, 64, 0.12);
}

/* ============================================
   PORTFOLIO ITEMS
   ============================================ */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(46, 52, 64, 0.2);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(46, 52, 64, 0.9) 100%);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

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

.portfolio-card .position-absolute {
  z-index: 2;
  transition: all var(--transition-speed) ease;
  transform: translateY(20px);
  opacity: 0;
}

.portfolio-card:hover .position-absolute {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--nordic-secondary) !important;
  color: var(--nordic-secondary) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.3rem !important;
  border-radius: 25px !important;
  transition: all var(--transition-speed) ease !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--nordic-secondary) !important;
  color: var(--nordic-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 129, 172, 0.3);
}

/* ============================================
   FORMS
   ============================================ */
.form-floating {
  margin-bottom: 1.5rem;
}

.form-control, .form-select {
  border: 2px solid var(--nordic-light) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
  font-size: 1rem !important;
  color: var(--nordic-primary) !important;
  background-color: var(--nordic-white) !important;
  transition: all var(--transition-speed) ease !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--nordic-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(94, 129, 172, 0.25) !important;
  background-color: var(--nordic-white) !important;
  color: var(--nordic-primary) !important;
}

.form-floating > label {
  color: var(--nordic-gray) !important;
  padding: 0.8rem 1rem !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--nordic-secondary) !important;
}

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

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(94, 129, 172, 0.25) !important;
}

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

.needs-validation .invalid-feedback {
  color: #d32f2f !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  border-radius: 8px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda !important;
  color: #155724 !important;
}

.alert-danger {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

.alert-info {
  background-color: #d1ecf1 !important;
  color: #0c5460 !important;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
  border: none !important;
  background-color: var(--nordic-white) !important;
  margin-bottom: 1rem !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(46, 52, 64, 0.08);
}

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

.accordion-button {
  background-color: var(--nordic-white) !important;
  color: var(--nordic-primary) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--nordic-secondary) !important;
  color: var(--nordic-white) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

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

.accordion-button.collapsed::after {
  filter: none;
}

.accordion-body {
  padding: 1.5rem !important;
  color: var(--nordic-gray) !important;
  background-color: var(--nordic-white) !important;
}

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

/* ============================================
   MODAL
   ============================================ */
.modal-content {
  border-radius: 12px !important;
  border: none !important;
  overflow: hidden;
}

.modal-header {
  background-color: var(--nordic-primary) !important;
  color: var(--nordic-white) !important;
  border-bottom: none !important;
  padding: 1.5rem 2rem !important;
}

.modal-title {
  color: var(--nordic-white) !important;
  font-weight: 600 !important;
}

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

.btn-close, .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover, .btn-close-white:hover {
  opacity: 1;
}

/* ============================================
   TABLE
   ============================================ */
.table {
  color: var(--nordic-gray) !important;
  border-color: var(--nordic-light) !important;
}

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

.table thead {
  background-color: var(--nordic-primary) !important;
  color: var(--nordic-white) !important;
}

.table thead th {
  color: var(--nordic-white) !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 1rem !important;
}

.table tbody tr {
  transition: all var(--transition-speed) ease;
}

.table tbody tr:hover {
  background-color: rgba(94, 129, 172, 0.05) !important;
}

.table tbody td {
  padding: 1rem !important;
  vertical-align: middle;
  border-color: var(--nordic-light) !important;
}

.table-responsive {
  border-radius: 8px;
  overflow: hidden;
}

/* ============================================
   BOOTSTRAP ICONS
   ============================================ */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-geo-alt-fill, .bi-telephone-fill, .bi-envelope-fill,
.bi-linkedin, .bi-instagram, .bi-facebook, .bi-twitter,
.bi-send, .bi-pin-map-fill, .bi-geo-alt, .bi-telephone,
.bi-envelope, .bi-tools, .bi-pencil-square, .bi-check-circle-fill,
.bi-building, .bi-tree, .bi-palette, .bi-cone-striped, .bi-clock-history {
  font-size: 1.2rem;
}

.fs-1 .bi {
  font-size: 3rem !important;
}

.fs-2 .bi {
  font-size: 2rem !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-light {
  background-color: var(--nordic-light) !important;
}

.bg-white {
  background-color: var(--nordic-white) !important;
}

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

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

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

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

.g-3 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

.g-4 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--nordic-primary) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

footer h5, footer .h5 {
  color: var(--nordic-white) !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem;
}

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

footer a:hover {
  color: var(--nordic-accent) !important;
  padding-left: 5px;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

footer .border-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   PRIVACY CONTENT
   ============================================ */
.privacy-content {
  background-color: var(--nordic-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(46, 52, 64, 0.08);
}

.privacy-content h2, .privacy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  line-height: 1.8;
}

/* ============================================
   POSITION STICKY
   ============================================ */
.position-sticky {
  position: sticky !important;
  top: 100px;
}

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

/* Mobile First - Base styles above are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .display-1 {
    font-size: 4rem !important;
  }
  
  .display-3 {
    font-size: 3rem !important;
  }
  
  .display-4 {
    font-size: 2.5rem !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .display-1 {
    font-size: 5rem !important;
  }
  
  .display-3 {
    font-size: 3.5rem !important;
  }
  
  .py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  
  .timeline-line {
    display: block !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    align-items: center;
  }
  
  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end !important;
  }
  
  .display-1 {
    font-size: 6rem !important;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile menu styles */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--nordic-primary);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .nav-link {
    padding: 0.7rem 1rem !important;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* ============================================
   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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.slide-in-up {
  animation: slideInUp 0.8s ease-out;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */
.hover-lift {
  transition: all var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner-border {
  border-color: var(--nordic-secondary);
  border-right-color: transparent;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--nordic-light);
}

::-webkit-scrollbar-thumb {
  background: var(--nordic-secondary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nordic-hover);
}

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
  background-color: var(--nordic-secondary);
  color: var(--nordic-white);
}

::-moz-selection {
  background-color: var(--nordic-secondary);
  color: var(--nordic-white);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
  
  body {
    background-color: white !important;
    color: black !important;
  }
}

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

button:focus, a:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--nordic-secondary) !important;
  outline-offset: 2px;
}

/* ============================================
   ADDITIONAL THEME ENHANCEMENTS
   ============================================ */
.border-secondary {
  border-color: var(--nordic-secondary) !important;
}

.small, small {
  font-size: 0.875rem !important;
  color: var(--nordic-gray) !important;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

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

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

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

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

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

.mt-3 {
  margin-top: 1rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

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

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

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

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

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

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

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

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

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

/* ============================================
   FINAL TOUCH - SMOOTH TRANSITIONS
   ============================================ */
* {
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease;
}

a, button, .btn, .card, .nav-link, img {
  transition: all var(--transition-speed) ease;
}