/* Arctic Frost Architecture Studio - Custom CSS */

:root {
  --primary-color: #1E3A5F;
  --secondary-color: #4A90E2;
  --light-frost: #E8F4F8;
  --ice-white: #F0F8FF;
  --dark-frost: #0F2540;
  --accent-frost: #7CB9E8;
  --shadow-frost: rgba(30, 58, 95, 0.1);
  --gradient-frost: linear-gradient(135deg, #1E3A5F 0%, #4A90E2 100%);
  --gradient-frost-reverse: linear-gradient(135deg, #4A90E2 0%, #1E3A5F 100%);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-color);
  background-color: var(--ice-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Navbar Styles */
.navbar {
  background: rgba(30, 58, 95, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(30, 58, 95, 0.3);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(30, 58, 95, 0.98) !important;
  box-shadow: 0 4px 30px rgba(30, 58, 95, 0.4);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 5px;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 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;
}

/* Button Styles */
.btn {
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gradient-frost) !important;
  border: 2px solid transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-frost-reverse) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4) !important;
  color: #ffffff !important;
}

.btn-primary:active,
.btn-primary:focus {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(74, 144, 226, 0.5) !important;
}

.btn-outline-light {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
}

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

.btn-light {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid #ffffff !important;
}

.btn-light:hover {
  background: var(--light-frost) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.btn-outline-secondary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

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

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
}

/* Hero Section */
.position-relative {
  min-height: 100vh;
}

.position-absolute.top-0 {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(74, 144, 226, 0.85) 100%);
  z-index: 1;
}

.position-relative::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="M50 10L60 30L80 35L65 50L70 70L50 60L30 70L35 50L20 35L40 30Z" fill="%23ffffff" opacity="0.05"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

.text-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(30, 58, 95, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

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

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

.shadow {
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1) !important;
}

/* Service Card with Flip Effect */
.service-card {
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
}

.service-card .card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.service-card:hover .card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-frost) 100%);
}

.card-back {
  background: var(--gradient-frost);
  color: #ffffff !important;
  transform: rotateY(180deg);
}

.card-back * {
  color: #ffffff !important;
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-frost);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.icon-circle i {
  font-size: 2.5rem;
  color: #ffffff !important;
}

/* Timeline Styles */
.timeline-line {
  position: relative;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-frost);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-frost);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--ice-white), 0 5px 20px rgba(74, 144, 226, 0.3);
}

.timeline-badge i {
  font-size: 1.5rem;
  color: #ffffff !important;
}

.timeline-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.1);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
}

/* Team Member Styles */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.hexagon-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.4s ease;
}

.hexagon-wrapper:hover {
  transform: scale(1.05) rotate(5deg);
}

.hexagon {
  width: 100%;
  height: 100%;
  background: var(--gradient-frost);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hexagon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 95, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hexagon-wrapper:hover .hexagon-overlay {
  opacity: 1;
}

.hexagon-text {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Certificate Badge */
.cert-badge {
  width: 120px;
  height: 120px;
  background: var(--gradient-frost);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.cert-badge:hover {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

.cert-badge i {
  font-size: 2.5rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-hero {
  background: var(--gradient-frost);
  padding: 6rem 0 4rem;
  margin-top: 76px;
}

.contact-hero * {
  color: #ffffff !important;
}

.contact-split-section {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(30, 58, 95, 0.15);
  padding: 3rem;
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 1rem !important;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25) !important;
  background-color: #ffffff !important;
}

.form-floating label {
  color: #666 !important;
  padding: 1rem;
}

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

.form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--secondary-color) !important;
  cursor: pointer;
}

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

.form-check-label {
  color: #666 !important;
  margin-left: 0.5rem;
  cursor: pointer;
}

/* Map Container */
.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(30, 58, 95, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Info Cards */
.info-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.15);
}

.info-card i {
  font-size: 2rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

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

.info-card p {
  color: #666 !important;
  margin-bottom: 0;
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1.25rem;
  background: var(--light-frost);
  color: var(--primary-color) !important;
  border-left: 4px solid var(--secondary-color);
}

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

/* Calendar Styles */
.calendar-grid {
  margin-bottom: 2rem;
}

.calendar-day {
  aspect-ratio: 1;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-color) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
}

.calendar-day:hover {
  border-color: var(--secondary-color);
  background: var(--light-frost);
  transform: scale(1.05);
}

.calendar-day.available {
  background: var(--light-frost);
  border-color: var(--secondary-color);
  color: var(--secondary-color) !important;
}

.calendar-day.available:hover {
  background: var(--gradient-frost);
  color: #ffffff !important;
  border-color: var(--primary-color);
}

/* Accordion Styles */
.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1);
}

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

.accordion-button:not(.collapsed) {
  background: var(--gradient-frost) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) i {
  color: #ffffff !important;
}

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

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

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

.accordion-body {
  padding: 1.5rem;
  background: #ffffff;
  color: #666 !important;
  line-height: 1.8;
}

.accordion-button i {
  color: var(--secondary-color) !important;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* Progress Bar */
.progress {
  height: 8px;
  border-radius: 10px;
  background: #e0e0e0;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-frost) !important;
  transition: width 0.6s ease;
}

/* Step Indicator */
.step-indicator {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-frost);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.step-indicator.active {
  animation: pulse 2s infinite;
}

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

.step-content {
  background: #ffffff;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.1);
}

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

.bg-primary {
  background: var(--gradient-frost) !important;
  color: #ffffff !important;
}

.bg-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  color: #ffffff !important;
}

.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%) !important;
  color: #ffffff !important;
}

.bg-light {
  background: var(--light-frost) !important;
  color: var(--primary-color) !important;
}

/* Footer Styles */
footer {
  background: var(--primary-color);
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

footer .list-unstyled li {
  margin-bottom: 0.75rem;
}

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

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

footer i {
  color: var(--accent-frost) !important;
  margin-right: 0.5rem;
}

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

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

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

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

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

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Container Adjustments */
.container-fluid {
  padding-right: var(--bs-gutter-x, 1rem);
  padding-left: var(--bs-gutter-x, 1rem);
}

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

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

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

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

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

.pb-4 {
  padding-bottom: 1.5rem !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;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !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;
}

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

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

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

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

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

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

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

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

/* Gap Utilities */
.gap-2 {
  gap: 0.5rem !important;
}

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

.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-2 {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

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

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

/* Display Utilities */
.d-none {
  display: none !important;
}

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

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

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

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

/* Flex Utilities */
.flex-column {
  flex-direction: column !important;
}

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

.flex-grow-1 {
  flex-grow: 1 !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;
}

.justify-content-between {
  justify-content: space-between !important;
}

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

/* Min Height */
.min-vh-75 {
  min-height: 75vh !important;
}

/* Responsive Utilities */
@media (max-width: 767.98px) {
  .navbar-collapse {
    background: rgba(30, 58, 95, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .display-1 {
    font-size: 2.5rem;
  }

  .display-2 {
    font-size: 2.25rem;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

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

  .service-card {
    height: 300px;
  }

  .hexagon-wrapper {
    width: 150px;
    height: 150px;
  }

  .timeline-line::before {
    left: 30px;
  }

  .timeline-badge {
    left: 30px;
    width: 50px;
    height: 50px;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .step-content {
    padding: 1.5rem;
  }

  .position-sticky {
    position: relative !important;
  }
}

@media (min-width: 768px) {
  .d-sm-inline-block {
    display: inline-block !important;
  }

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

  .text-md-start {
    text-align: left !important;
  }

  .text-md-end {
    text-align: right !important;
  }

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

  .flex-md-row-reverse {
    flex-direction: row-reverse !important;
  }

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

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

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

  .ps-lg-5 {
    padding-left: 3rem !important;
  }

  .text-lg-start {
    text-align: left !important;
  }

  .text-lg-end {
    text-align: right !important;
  }
}

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

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

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

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

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

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

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(74, 144, 226, 0.2);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Bootstrap Icon Fixes */
.bi {
  display: inline-block;
  vertical-align: middle;
}

/* Text Color Overrides */
.text-dark {
  color: var(--primary-color) !important;
}

/* Background Color Utilities */
.bg-white {
  background-color: #ffffff !important;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
}

/* Focus States */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: #ffffff;
}

::-moz-selection {
  background: var(--secondary-color);
  color: #ffffff;
}

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

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .card,
  .timeline-content {
    break-inside: avoid;
  }
}