/* Royal Midnight Gold Architecture Studio Theme */

/* === Color Variables & Base Styles === */
:root {
  --primary-color: #1A237E;
  --secondary-color: #C5A572;
  --dark-navy: #0D1642;
  --light-gold: #D4B991;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #9E9E9E;
  --dark-gray: #424242;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* === Navbar Styles === */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-navy) 100%) !important;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
  transition: var(--transition);
  z-index: 1030;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 30px rgba(26, 35, 126, 0.4);
}

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--white) !important;
  letter-spacing: 1px;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.navbar-brand.fw-bold {
  font-weight: 800 !important;
}

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(197, 165, 114, 0.3) !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='%23C5A572' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.25rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  font-size: 1rem !important;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(197, 165, 114, 0.1) !important;
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

/* === Hero Section === */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-navy) 50%, var(--primary-color) 100%);
  position: relative;
}

.position-relative.overflow-hidden::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="M50 0L100 50L50 100L0 50z" fill="%23C5A572" opacity="0.05"/%3E%3C/svg%3E');
  background-size: 100px 100px;
  animation: backgroundMove 20s linear infinite;
  opacity: 0.5;
}

@keyframes backgroundMove {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

.position-absolute.w-100.h-100 {
  z-index: 1;
}

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

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

.display-2 {
  font-weight: 800 !important;
  letter-spacing: -1px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  color: var(--white) !important;
}

.display-3 {
  font-weight: 700 !important;
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.display-4 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

.display-5 {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

.display-6 {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

.lead.fs-3 {
  font-size: 1.75rem !important;
  color: var(--secondary-color) !important;
  font-weight: 300 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fs-1 { font-size: 2.5rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.25rem !important; }
.fs-5 { font-size: 1.1rem !important; }

/* === Buttons === */
.btn {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem !important;
}

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

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gold) 100%) !important;
  color: var(--dark-navy) !important;
  box-shadow: 0 4px 15px rgba(197, 165, 114, 0.4);
  border: 2px solid var(--secondary-color) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--light-gold) 0%, var(--secondary-color) 100%) !important;
  color: var(--dark-navy) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(197, 165, 114, 0.6);
  border: 2px solid var(--light-gold) !important;
}

.btn-light {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--white) !important;
  font-weight: 600 !important;
}

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary-color) !important;
  transform: translateY(-3px);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary-color) !important;
  transform: translateY(-3px);
}

/* === Forms === */
.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
  background: var(--white) !important;
  color: var(--dark-gray) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(197, 165, 114, 0.25) !important;
  background: var(--white) !important;
  color: var(--dark-gray) !important;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.1rem !important;
}

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

.form-check-input {
  border: 2px solid var(--secondary-color);
  width: 1.25rem;
  height: 1.25rem;
}

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

.form-check-label {
  color: var(--dark-gray) !important;
}

.form-range {
  height: 0.5rem;
}

.form-range::-webkit-slider-thumb {
  background: var(--secondary-color);
}

.form-range::-moz-range-thumb {
  background: var(--secondary-color);
}

/* === Search Box === */
.rounded-3 {
  border-radius: 1rem !important;
}

.rounded-4 {
  border-radius: 1.5rem !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.p-4.rounded-3.shadow-lg {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
}

/* === Badge === */
.badge {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gold) 100%) !important;
  color: var(--dark-navy) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px;
}

/* === Cards === */
.card {
  border: none !important;
  border-radius: 1rem;
  transition: var(--transition);
  overflow: hidden;
  background: var(--white) !important;
}

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

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

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

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

.card-header {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 1rem 1.5rem;
}

.team-card {
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--light-gold) 100%);
}

/* === Images === */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition);
}

.object-fit-cover {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

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

/* === Sections === */
section {
  position: relative;
}

.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-4 { padding-top: 2rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 2rem !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 3rem !important; }

.m-0 { margin: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 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: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 2rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.my-4 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

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

/* === Typography === */
.h2, h2 {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.fw-light {
  font-weight: 300 !important;
}

.fst-italic {
  font-style: italic !important;
}

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

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

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

/* === Timeline === */
.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--light-gold) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary-color);
}

/* === Icons === */
.bi {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.bi-geo-alt-fill,
.bi-water,
.bi-shop,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-arrow-left,
.bi-arrow-right,
.bi-send,
.bi-chat-dots-fill,
.bi-chat-left-text,
.bi-airplane-fill,
.bi-taxi-front,
.bi-train-front,
.bi-car-front,
.bi-bus-front-fill,
.bi-bus-front,
.bi-car-front-fill,
.bi-bicycle,
.bi-check2,
.bi-calendar3,
.bi-printer,
.bi-info-circle,
.bi-clipboard-check,
.bi-shield-lock,
.bi-share,
.bi-cookie,
.bi-hand-thumbs-up,
.bi-clock-history,
.bi-people,
.bi-globe,
.bi-arrow-repeat,
.bi-chat-dots,
.bi-envelope,
.bi-telephone,
.bi-geo-alt,
.bi-heart,
.bi-link-45deg,
.bi-chevron-right,
.bi-shield-check,
.bi-file-text,
.bi-arrow-right-circle,
.bi-arrows-angle-expand,
.bi-droplet,
.bi-tv,
.bi-cup-hot,
.bi-building,
.bi-door-open,
.bi-wifi,
.bi-laptop,
.bi-columns-gap,
.bi-sunset,
.bi-stars,
.bi-snow,
.bi-lock,
.bi-moisture,
.bi-moon-stars,
.bi-badge-3d,
.bi-check-circle-fill,
.bi-circle-fill,
.bi-heart-fill,
.bi-star-fill {
  color: var(--secondary-color);
}

/* === Lists === */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  padding: 0.5rem 0;
}

.list-unstyled a {
  color: var(--dark-gray) !important;
  transition: var(--transition);
}

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

/* === Footer === */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-navy) 100%);
  color: var(--white) !important;
}

footer h5,
footer .h5 {
  color: var(--secondary-color) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* === Accordion === */
.accordion {
  border-radius: 1rem;
  overflow: hidden;
}

.accordion-item {
  border: 1px solid #E0E0E0 !important;
  margin-bottom: 1rem;
  border-radius: 0.5rem !important;
  overflow: hidden;
}

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

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(197, 165, 114, 0.25);
  border-color: var(--secondary-color);
}

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

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

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

.accordion-collapse.show {
  border-top: 2px solid var(--secondary-color);
}

/* === Alert === */
.alert {
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  font-weight: 500;
}

.alert-info {
  background: rgba(26, 35, 126, 0.1);
  color: var(--primary-color) !important;
}

.alert-warning {
  background: rgba(197, 165, 114, 0.2);
  color: var(--dark-navy) !important;
}

/* === Modal === */
.modal {
  z-index: 1055;
}

.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

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

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

.modal-body {
  padding: 2rem;
}

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

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

/* === Carousel === */
.carousel {
  border-radius: 1rem;
  overflow: hidden;
}

.carousel-indicators {
  margin-bottom: 1.5rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  transition: var(--transition);
}

.carousel-indicators button.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.carousel-inner {
  border-radius: 1rem;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(26, 35, 126, 0.7);
  border-radius: 50%;
  padding: 0.75rem;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--secondary-color);
}

/* === Room Items === */
.room-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
}

.room-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(26, 35, 126, 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.room-item:hover::before {
  opacity: 1;
}

.room-item:hover .view-tour {
  opacity: 1;
  transform: translateY(0);
}

.view-tour {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

/* === Filter Buttons === */
.filter-btn {
  background: transparent;
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
  font-weight: 600;
  margin: 0.25rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* === Rounded Pills === */
.rounded-pill {
  border-radius: 50rem !important;
}

/* === Sidebar === */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

/* === Spinner === */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border: 0.3rem solid var(--secondary-color);
  border-right-color: transparent;
}

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

/* === Privacy Hero === */
.privacy-hero,
.privacy-intro {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-navy) 100%);
  color: var(--white) !important;
  padding: 4rem 0;
}

.privacy-hero h1,
.privacy-intro h2 {
  color: var(--white) !important;
}

/* === Background Utilities === */
.bg-white {
  background-color: var(--white) !important;
}

/* === Sticky === */
.sticky-lg-top {
  position: sticky;
  top: 80px;
  z-index: 1020;
}

/* === Gaps === */
.g-0 { gap: 0 !important; }
.g-3 { gap: 1rem !important; }
.g-4 { gap: 1.5rem !important; }
.g-5 { gap: 2rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }

/* === Flexbox === */
.d-flex {
  display: flex !important;
}

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

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

.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-end {
  align-items: flex-end !important;
}

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

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

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

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

/* === Text Alignment === */
.text-center {
  text-align: center !important;
}

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

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

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

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

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

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

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

.start-0 {
  left: 0 !important;
}

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

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

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

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

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

/* === Container === */
.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

/* === Row === */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

/* === Columns === */
.col,
.col-5,
.col-6,
.col-7,
.col-12,
.col-sm-6,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }

/* === Order === */
.order-lg-1 {
  order: 1;
}

.order-lg-2 {
  order: 2;
}

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

@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-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

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

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

/* === Responsive Design === */
@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
  
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
  
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  
  .pe-lg-5 { padding-right: 3rem !important; }
  .ps-lg-5 { padding-left: 3rem !important; }
  
  .text-lg-end { text-align: right !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* Mobile Optimizations */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13, 22, 66, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }
  
  .nav-item {
    margin: 0.25rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead.fs-3 {
    font-size: 1.25rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .order-lg-1,
  .order-lg-2 {
    order: 0;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
}

@media (max-width: 767px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .fs-3 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .modal,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Smooth Scroll for All Browsers */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Selection Color */
::selection {
  background: var(--secondary-color);
  color: var(--white);
}

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

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

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

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

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

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* Fade Classes */
.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

/* Collapse */
.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* Modal Dialog Sizes */
.modal-xl {
  max-width: 1140px;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}