/* Architectural Studio - Midnight Steel & Amber Theme */

/* ========== ROOT VARIABLES ========== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-accent: #1a252f;
  --light-accent: #ecf0f1;
  --amber-light: #f39c12;
  --amber-dark: #d35400;
  --steel-blue: #34495e;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --transition-speed: 0.4s;
  --shadow-soft: 0 10px 40px rgba(44, 62, 80, 0.1);
  --shadow-medium: 0 15px 50px rgba(44, 62, 80, 0.2);
  --shadow-hard: 0 20px 60px rgba(44, 62, 80, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.text-white,
.text-white h1, .text-white h2, .text-white h3, 
.text-white h4, .text-white h5, .text-white h6,
.text-white .display-1, .text-white .display-2, 
.text-white .display-3, .text-white .display-4,
.text-white .display-5 {
  color: #ffffff !important;
}

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

.text-muted {
  color: #7f8c8d !important;
}

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

/* ========== NAVBAR ========== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--steel-blue) 100%) !important;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed) ease;
  z-index: 1050;
  backdrop-filter: blur(10px);
}

.navbar.position-fixed {
  top: 0;
  left: 0;
  right: 0;
}

.navbar.position-sticky {
  position: sticky;
  top: 0;
}

.navbar.sticky-top {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

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

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

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.3);
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

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

/* ========== BUTTONS ========== */
.btn {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s 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: 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-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--amber-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.4);
  color: #ffffff !important;
}

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

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

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

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

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

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

.btn:active {
  transform: translateY(0) !important;
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
}

.carousel {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--steel-blue) 100%);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.75) 100%);
  z-index: 1;
}

.carousel-item.active {
  display: flex !important;
  align-items: center;
}

.carousel-caption {
  position: relative;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: auto;
  padding: 2rem;
  text-align: left;
}

.carousel-caption h1,
.carousel-caption .display-2,
.carousel-caption .display-3 {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

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

.carousel-indicators {
  z-index: 3;
  bottom: 30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 3;
  opacity: 0.8;
  transition: opacity 0.3s 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: rgba(230, 126, 34, 0.3);
  border-radius: 50%;
  padding: 0.8rem;
}

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

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

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

.card.shadow-lg {
  box-shadow: var(--shadow-medium) !important;
}

.card.shadow {
  box-shadow: var(--shadow-soft) !important;
}

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--steel-blue) !important;
  line-height: 1.7;
}

.service-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.2);
}

.service-card .bi {
  color: var(--secondary-color) !important;
  transition: all 0.3s ease;
}

.service-card:hover .bi {
  transform: scale(1.2) rotate(5deg);
}

.portfolio-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(230, 126, 34, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

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

.portfolio-card:hover {
  transform: scale(1.05);
}

.team-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #ffffff;
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(44, 62, 80, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--amber-light) 100%);
  width: 0;
  transition: width 0.5s ease;
}

.team-card:hover .team-accent {
  width: 100%;
}

.hover-lift {
  transition: all 0.3s ease;
}

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

/* ========== SECTIONS ========== */
section {
  padding: 5rem 0;
  position: relative;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-white {
  background-color: #ffffff !important;
}

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

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

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

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

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

/* ========== ICONS ========== */
.bi {
  display: inline-block;
  vertical-align: middle;
  color: var(--primary-color);
}

.bi-house-door,
.bi-building,
.bi-tree,
.bi-grid-3x3,
.bi-tools,
.bi-clock-history,
.bi-chat-dots,
.bi-telephone,
.bi-envelope,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-geo-alt,
.bi-star-fill,
.bi-people-fill,
.bi-award-fill,
.bi-rocket-takeoff-fill {
  color: var(--secondary-color) !important;
}

.rounded-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--amber-light) 100%);
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.rounded-circle:hover {
  transform: rotate(360deg) scale(1.1);
}

.rounded-circle .bi {
  color: #ffffff !important;
}

/* ========== BADGES ========== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.badge.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--steel-blue) 100%) !important;
}

.badge.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--amber-dark) 100%) !important;
}

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

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

.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;
  background-color: #ffffff;
  color: var(--text-dark) !important;
}

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

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

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

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

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

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

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

.alert-success {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff !important;
}

.alert .bi {
  color: #ffffff !important;
  font-size: 1.5rem;
}

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

/* ========== MODAL ========== */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--steel-blue) 100%);
  color: #ffffff;
  border-radius: 15px 15px 0 0;
  padding: 1.5rem;
}

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

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700;
}

/* ========== ACCORDION ========== */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.accordion-button {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--amber-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: none;
}

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

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

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

.accordion-collapse {
  border: none;
}

/* ========== TIMELINE ========== */
.timeline-item {
  position: relative;
  padding: 2rem 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item:first-child::before {
  top: 50%;
}

.timeline-item:last-child::before {
  bottom: 50%;
}

/* ========== FILTERS ========== */
.filter-btn {
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color) !important;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--amber-dark) 100%);
  color: #ffffff !important;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ========== PORTFOLIO ========== */
.portfolio-item {
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  height: 0;
  overflow: hidden;
}

.portfolio-card .card-img-top {
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* ========== RATIO ========== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1rem;
}

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

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

footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

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

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

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

footer .bi-linkedin:hover,
footer .bi-instagram:hover,
footer .bi-facebook:hover,
footer .bi-twitter:hover {
  color: #ffffff !important;
  transform: scale(1.3);
}

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

.shadow {
  box-shadow: var(--shadow-soft) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-medium) !important;
}

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

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

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

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

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

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

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

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

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

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

.end-0 {
  right: 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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.z-3 {
  z-index: 3 !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;
}

.border {
  border: 1px solid #dee2e6 !important;
}

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

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

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

.animate-slide-in-left {
  animation: slideInLeft 1s ease;
}

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

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(230, 126, 34, 0.2);
  }
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .carousel-caption h1,
  .carousel-caption .display-2 {
    font-size: 2rem !important;
  }
  
  .carousel-caption .display-3 {
    font-size: 1.75rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !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;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-item {
    height: 70vh;
    min-height: 500px;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .order-lg-1,
  .order-lg-2 {
    order: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 0.875rem;
  }
  
  .rounded-circle {
    width: 60px;
    height: 60px;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-2 {
    font-size: 1.75rem !important;
  }
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

/* ========== SCROLL BEHAVIOR ========== */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== LOADING ANIMATIONS ========== */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(230, 126, 34, 0.2);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ========== ACCESSIBILITY ========== */
.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;
}

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

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