/* Architectural Studio CSS - Titan Blue & Victory Orange Theme */

/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-color: #1565C0;
  --secondary-color: #FF8F00;
  --dark-blue: #0D47A1;
  --light-blue: #42A5F5;
  --dark-orange: #E65100;
  --light-orange: #FFB74D;
  --text-dark: #212529;
  --text-light: #F8F9FA;
  --shadow: rgba(21, 101, 192, 0.2);
  --shadow-hover: rgba(21, 101, 192, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ==================== TYPOGRAPHY ==================== */
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--text-dark) !important;
}

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

.fs-3,
.fs-4,
.fs-5 {
  line-height: 1.5;
}

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

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

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

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

.navbar-brand .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

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

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

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

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

.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !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(255, 143, 0, 0.25) !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='%23FF8F00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ==================== BUTTONS ==================== */
.btn {
  font-weight: 600 !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%) !important;
  border-color: var(--dark-blue) !important;
  color: white !important;
  box-shadow: 0 8px 25px var(--shadow-hover);
  transform: translateY(-3px);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
  box-shadow: 0 8px 25px var(--shadow-hover);
  transform: translateY(-3px);
}

.btn-outline-light {
  border-color: white !important;
  color: white !important;
  border-width: 2px !important;
  background: transparent !important;
}

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

.btn-dark {
  background: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
  color: white !important;
}

.btn-dark:hover,
.btn-dark:focus {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
  box-shadow: 0 8px 25px var(--shadow-hover);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border-color: var(--text-dark) !important;
  color: var(--text-dark) !important;
  border-width: 2px !important;
  background: transparent !important;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
  color: white !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

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

.btn-light:hover,
.btn-light:focus {
  background: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* ==================== CAROUSEL ==================== */
.carousel {
  height: 100vh;
  min-height: 600px;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.85) 0%, rgba(13, 71, 161, 0.75) 50%, rgba(255, 143, 0, 0.65) 100%);
  z-index: 1;
}

.carousel-item:nth-child(1) {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.9) 0%, rgba(13, 71, 161, 0.8) 100%), url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%%3E%3Cpath d="M0 0h100v100H0z" fill="%23f8f9fa"/%3E%3Cpath d="M0 0l100 100M100 0L0 100" stroke="%231565C0" stroke-width="0.5" opacity=".1"/%3E%3C/svg%3E');
}

.carousel-item:nth-child(2) {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(21, 101, 192, 0.8) 100%), url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="50" cy="50" r="40" fill="none" stroke="%23FF8F00" stroke-width="0.5" opacity=".1"/%3E%3C/svg%3E');
}

.carousel-item:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 143, 0, 0.9) 0%, rgba(230, 81, 0, 0.8) 100%), url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="100" height="100" fill="%23f8f9fa"/%3E%3Cpath d="M50 0v100M0 50h100" stroke="%231565C0" stroke-width="0.5" opacity=".1"/%3E%3C/svg%3E');
}

.carousel-item > * {
  position: relative;
  z-index: 2;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

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

.carousel .display-2 {
  color: white !important;
  font-size: 4rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem !important;
  animation: fadeInUp 1s ease-out;
}

.carousel .lead {
  color: white !important;
  font-size: 1.5rem !important;
  margin-bottom: 2rem !important;
  animation: fadeInUp 1.2s ease-out;
}

.carousel .btn {
  animation: fadeInUp 1.4s ease-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 1rem;
}

/* ==================== CARDS ==================== */
.card {
  border-radius: 12px !important;
  transition: var(--transition);
  overflow: hidden;
  background: white !important;
}

.card.border-0 {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px var(--shadow-hover) !important;
}

.card.h-100 {
  height: 100%;
}

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

.card-body.p-4 {
  padding: 2.5rem !important;
}

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

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

.card .bi {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(255, 143, 0, 0.1);
  border-radius: 12px;
  transition: var(--transition);
}

.card:hover .bi {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 143, 0, 0.2);
}

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

.membership-card {
  border: 3px solid var(--primary-color) !important;
  transition: var(--transition);
}

.membership-card:hover {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 12px 35px var(--shadow-hover) !important;
}

/* ==================== BADGES ==================== */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.3px;
}

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

.bg-light {
  background: #f8f9fa !important;
  color: var(--text-dark) !important;
}

.bg-white {
  background: white !important;
}

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

.text-danger {
  color: #dc3545 !important;
}

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

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

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

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

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

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

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

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

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

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.15) !important;
  outline: none;
}

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

.form-check-input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  border: 2px solid #dee2e6 !important;
  cursor: pointer;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.15) !important;
}

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

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

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

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

/* ==================== ALERTS ==================== */
.alert {
  border-radius: 8px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert .bi {
  font-size: 1.5rem;
}

/* ==================== ACCORDION ==================== */
.accordion {
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

/* ==================== TABLE ==================== */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table {
  margin-bottom: 0 !important;
  background: white !important;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  color: white !important;
}

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

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

.table-hover tbody tr:hover {
  background: rgba(21, 101, 192, 0.05) !important;
  transform: scale(1.01);
}

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

.comparison-row {
  background: rgba(255, 143, 0, 0.05) !important;
}

/* ==================== SECTIONS ==================== */
section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

.mt-auto {
  margin-top: auto !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.text-decoration-none {
  text-decoration: none !important;
  color: inherit;
  transition: var(--transition);
}

.text-decoration-none:hover {
  color: var(--primary-color) !important;
}

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

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

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

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

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

.d-inline-flex {
  display: inline-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-middle {
  vertical-align: middle !important;
}

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

.gap-2 {
  gap: 0.5rem !important;
}

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

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

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

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

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

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

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

.top-50 {
  top: 50% !important;
}

.start-50 {
  start: 50% !important;
}

.end-0 {
  right: 0 !important;
}

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

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

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

.opacity-50 {
  opacity: 0.5 !important;
}

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

.opacity-90 {
  opacity: 0.9 !important;
}

.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;
}

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

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

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

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

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

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

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

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

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

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

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

.ps-lg-4 {
  padding-left: 1.5rem !important;
}

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

.pe-lg-4 {
  padding-right: 1.5rem !important;
}

.pe-lg-5 {
  padding-right: 3rem !important;
}

.small {
  font-size: 0.875rem !important;
}

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

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

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

/* ==================== BOOTSTRAP ICONS ==================== */
.bi {
  display: inline-block;
  line-height: 1;
}

.bi-check-circle-fill,
.bi-trophy-fill,
.bi-people-fill,
.bi-heart-pulse-fill,
.bi-award-fill {
  color: var(--secondary-color) !important;
}

.bi-facebook:hover {
  color: #1877f2 !important;
}

.bi-instagram:hover {
  color: #e4405f !important;
}

.bi-twitter-x:hover {
  color: #000000 !important;
}

.bi-youtube:hover {
  color: #ff0000 !important;
}

.bi-tiktok:hover {
  color: #000000 !important;
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: white !important;
  padding: 3rem 0 1rem;
}

footer h5,
footer h6 {
  color: white !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: inline-block;
}

footer a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

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

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

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: var(--transition);
}

footer .social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px) rotate(5deg);
}

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

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

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.98);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }

  .carousel .display-2 {
    font-size: 2.5rem !important;
  }

  .carousel .lead {
    font-size: 1.1rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .ps-lg-5,
  .pe-lg-5 {
    padding: 0 !important;
  }

  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8 {
    margin-bottom: 2rem;
  }

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

  .order-lg-1,
  .order-lg-2 {
    order: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .carousel {
    height: 80vh;
    min-height: 500px;
  }

  .carousel .display-2 {
    font-size: 2rem !important;
  }

  .carousel .lead {
    font-size: 1rem !important;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

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

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

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

  .display-6 {
    font-size: 1.25rem !important;
  }

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

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

  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7 {
    margin-bottom: 1.5rem;
  }

  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }

  .order-2 {
    order: 2 !important;
  }

  .order-1 {
    order: 1 !important;
  }
}

@media (max-width: 575.98px) {
  .carousel .display-2 {
    font-size: 1.75rem !important;
  }

  .carousel .lead {
    font-size: 0.9rem !important;
  }

  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.85rem !important;
  }

  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .display-3 {
    font-size: 1.75rem !important;
  }

  .display-4 {
    font-size: 1.5rem !important;
  }

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

  .fs-4 {
    font-size: 1.1rem !important;
  }

  .card-img-top {
    height: 200px;
  }

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

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

  .col-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .navbar,
  .btn,
  footer,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
  }
}

/* ==================== SCROLL BEHAVIOR ==================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

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

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

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

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

/* ==================== FOCUS STYLES ==================== */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25) !important;
}

/* ==================== LOADING STATES ==================== */
.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* ==================== CUSTOM UTILITIES ==================== */
.hover-lift {
  transition: var(--transition);
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* ==================== ROW & COLUMN GAPS ==================== */
.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

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

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

/* ==================== CONTAINER ==================== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

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

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