/* Slate & Copper Architecture Studio - CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-slate: #1a252f;
  --light-slate: #34495e;
  --copper-light: #f39c12;
  --copper-dark: #d35400;
  --white: #ffffff;
  --light-gray: #ecf0f1;
  --medium-gray: #95a5a6;
  --text-dark: #2c3e50;
  --transition-speed: 0.3s;
}

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

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

html {
  scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color) !important;
}

.display-2, .display-3, .display-4, .display-5 {
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--light-slate) !important;
}

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

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

.text-uppercase {
  letter-spacing: 2px;
}

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

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

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

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

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

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.fixed-top {
  z-index: 1050;
}

.navbar.sticky-top {
  background: rgba(44, 62, 80, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-dark .navbar-brand {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.navbar-expand-lg .navbar-nav {
  gap: 0.5rem;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-speed) ease;
  position: relative;
  border-radius: 5px;
}

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

.navbar-dark .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(230, 126, 34, 0.15);
  font-weight: 600;
}

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

.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(230, 126, 34, 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='%23E67E22' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

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

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

.btn-primary,
.btn-primary:focus {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--copper-dark) !important;
  border-color: var(--copper-dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

.btn-light,
.btn-light:focus {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--white) !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-light:hover,
.btn-light:active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

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

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

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

.btn-dark:hover {
  background-color: var(--dark-slate) !important;
  border-color: var(--dark-slate) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

.filter-btn {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--light-slate) !important;
  margin: 0.5rem;
}

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

/* ===== HERO SECTION ===== */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.start-0 {
  left: 0;
}

.end-0 {
  right: 0;
}

.top-50 {
  top: 50%;
}

.start-50 {
  left: 50%;
}

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

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
  min-height: 100vh;
}

.min-vh-40 {
  min-height: 40vh;
}

.position-relative.w-100.h-100 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 50%, var(--primary-color) 100%);
  overflow: hidden;
}

.position-relative.w-100.h-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23E67E22" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
  animation: patternMove 30s linear infinite;
}

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

.position-absolute.top-0.start-0.w-100.h-100 {
  background: rgba(26, 37, 47, 0.4);
  z-index: 1;
}

.container.d-flex.align-items-center.h-100 {
  z-index: 2;
  position: relative;
}

/* ===== BADGE ===== */
.badge {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 1px;
  display: inline-block;
}

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

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

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

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

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

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

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.card-body {
  padding: 1.5rem;
}

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

.card-text {
  color: var(--light-slate);
  line-height: 1.6;
}

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

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(230, 126, 34, 0.9) 100%);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

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

.portfolio-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item:hover img {
  transform: scale(1.2);
}

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

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

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: var(--white);
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.15) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--medium-gray);
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--light-slate);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.15) !important;
}

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

/* ===== MODAL ===== */
.modal {
  z-index: 1060;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal-content {
  border: none;
  border-radius: 12px;
  background-color: var(--white);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%);
  color: var(--white) !important;
  border-bottom: none;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
}

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

.modal-body {
  padding: 2rem;
}

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

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 1;
  transform: rotate(90deg);
}

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

.modal-xl {
  max-width: 1140px;
}

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

.accordion-item {
  border: none;
  border-bottom: 1px solid var(--light-gray);
  background-color: var(--white);
}

.accordion-item:last-child {
  border-bottom: none;
}

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

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.15) !important;
  border: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C3E50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E67E22'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-collapse {
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--light-slate);
  line-height: 1.8;
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
}

.carousel.slide {
  transition: all 0.6s ease;
}

.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

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

.carousel-item img {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

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

.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: 0.75rem;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-slate);
  border: none;
  opacity: 0.5;
  transition: all var(--transition-speed) ease;
}

.carousel-indicators .active {
  background-color: var(--secondary-color) !important;
  opacity: 1;
  transform: scale(1.2);
}

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

.bi-geo-alt-fill,
.bi-geo-alt,
.bi-telephone-fill,
.bi-telephone,
.bi-envelope-fill,
.bi-envelope,
.bi-clock,
.bi-calendar-check,
.bi-people,
.bi-camera-video,
.bi-arrow-right,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-twitter,
.bi-house-door,
.bi-building,
.bi-tree,
.bi-grid-3x3,
.bi-clipboard-check,
.bi-boxes,
.bi-cup-hot,
.bi-lightbulb,
.bi-lightbulb-fill,
.bi-rulers,
.bi-file-earmark-text,
.bi-shield-check,
.bi-hammer,
.bi-star-fill,
.bi-award-fill,
.bi-tree-fill,
.bi-globe,
.bi-check-circle-fill,
.bi-droplet-fill,
.bi-cpu-fill,
.bi-recycle {
  color: var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

.text-white .bi,
.navbar-dark .bi,
.modal-header .bi {
  color: var(--white) !important;
}

.bi:hover {
  transform: scale(1.1);
}

/* ===== SOCIAL ICONS ===== */
a .bi-instagram,
a .bi-linkedin,
a .bi-facebook,
a .bi-twitter {
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
}

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

a:hover .bi-linkedin {
  color: #0077B5 !important;
}

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

a:hover .bi-twitter {
  color: #1DA1F2 !important;
}

/* ===== LINKS ===== */
a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover,
a:focus {
  color: var(--copper-dark) !important;
}

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

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

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

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

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

/* ===== SPACING UTILITIES ===== */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== GRID UTILITIES ===== */
.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

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

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

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

/* ===== BORDER UTILITIES ===== */
.rounded {
  border-radius: 8px !important;
}

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

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

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

/* ===== OVERFLOW UTILITIES ===== */
.overflow-hidden {
  overflow: hidden !important;
}

/* ===== IMAGE UTILITIES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
}

img {
  transition: all 0.5s ease;
}

/* ===== VISIBILITY UTILITIES ===== */
.d-none {
  display: none !important;
}

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

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

.d-md-block {
  display: block !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;
}

/* ===== FLEX UTILITIES ===== */
.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-between {
  justify-content: space-between !important;
}

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

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

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

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

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

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

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

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

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

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

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

section:nth-child(even) {
  background-color: var(--light-gray);
}

section:nth-child(odd) {
  background-color: var(--white);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

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

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

.hover-shadow:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

/* ===== LOADING ANIMATION ===== */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading {
  animation: rotate 1s linear infinite;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 991.98px) {
  .d-lg-block {
    display: none !important;
  }
  
  .navbar-collapse {
    background-color: rgba(26, 37, 47, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .px-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .ps-lg-5,
  .ps-lg-4 {
    padding-left: 1rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 1rem !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .d-md-block {
    display: none !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .col-md-6,
  .col-md-4,
  .col-md-3,
  .col-md-12 {
    margin-bottom: 1.5rem;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
  
  .carousel-item img {
    height: 250px;
  }
  
  .order-md-1 {
    order: 1;
  }
  
  .order-md-2 {
    order: 2;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .h-100 {
    min-height: 80vh;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-4 {
    font-size: 1.1rem !important;
  }
  
  .btn-lg {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .carousel-item img {
    height: 200px;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .col-6 {
    margin-bottom: 1rem;
  }
}

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

.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: none;
}

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

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

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

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

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

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

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

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

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

.bg-dark {
  background-color: var(--dark-slate) !important;
}

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

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

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

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

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

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  border: none;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background-color: var(--copper-dark) !important;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

/* ===== CONTAINER WIDTHS ===== */
@media (min-width: 1400px) {
  .container,
  .container-fluid {
    max-width: 1320px;
  }
}

/* ===== FINAL TOUCHES ===== */
.small {
  font-size: 0.875rem;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-50 {
  opacity: 0.5;
}

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

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

.cursor-pointer {
  cursor: pointer;
}

.user-select-none {
  user-select: none;
}

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