/* Architectural Studio - Midnight Steel & Copper Theme */
/* Color Palette: #2C3E50 (Midnight Steel), #E67E22 (Copper) */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-accent: #1a252f;
  --light-accent: #34495e;
  --copper-light: #f39c12;
  --copper-dark: #d35400;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-light) !important;
}

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

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

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
}

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

.navbar-brand.fw-bold {
  font-weight: 700 !important;
  color: #ffffff !important;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1.2rem;
  margin: 0 0.2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

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

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

/* Fixed Navigation */
.fixed-top {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Carousel Styles */
.carousel {
  height: 100vh;
  min-height: 600px;
  position: relative;
  margin-top: 70px;
}

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

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(26, 37, 47, 0.9), rgba(44, 62, 80, 0.7));
  z-index: 1;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: left;
  padding-left: 5%;
  padding-right: 5%;
}

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

.carousel-caption p {
  color: var(--text-light) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

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

/* Button Styles */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-dark)) !important;
  color: #ffffff !important;
  border: none !important;
}

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

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

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

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

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4) !important;
}

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.5) !important;
}

/* Card Styles */
.card {
  background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(230, 126, 34, 0.3);
}

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

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

.card-body {
  padding: 2rem;
}

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

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

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

.card-title {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.8;
}

/* Section Styles */
section {
  padding: 5rem 0;
  position: relative;
}

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

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

.pb-4 {
  padding-bottom: 2rem !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-5 {
  padding-left: 3rem !important;
}

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

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

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

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

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

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

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

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

.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

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

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

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

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.875rem;
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

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

.bi::before {
  color: var(--secondary-color);
}

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

/* Team Card */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 400px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.team-card img {
  transition: all 0.4s ease;
  filter: grayscale(30%);
}

.team-card:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 37, 47, 0.95), transparent);
  padding: 2rem;
  transform: translateY(60%);
  transition: all 0.4s ease;
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Contact Section */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
  padding: 4rem 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-detail {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--secondary-color);
}

.contact-label {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-value {
  color: #ffffff;
  font-size: 1.1rem;
}

.office-hours {
  background: rgba(230, 126, 34, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--secondary-color);
}

.hours-text {
  color: var(--text-light);
  line-height: 1.8;
}

.form-section {
  background: #ffffff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.25);
  background-color: #ffffff;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-dark));
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
  background: linear-gradient(135deg, var(--copper-dark), var(--secondary-color));
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Portfolio Item */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 350px;
  transition: all 0.4s ease;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 37, 47, 0.9), transparent);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

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

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

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

.portfolio-item:hover {
  box-shadow: 0 20px 50px rgba(230, 126, 34, 0.4);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease;
}

.modal.fade {
  opacity: 0;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  margin: 1.75rem auto;
  max-width: 500px;
  pointer-events: none;
}

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

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

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
  border: none;
  border-radius: 15px;
  outline: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 2rem;
  color: var(--text-light);
}

.btn-close,
.btn-close-white {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 1;
  color: var(--secondary-color);
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--copper-dark));
  transform: translateX(-50%);
}

.timeline-year-badge {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* List Styles */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

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

/* Link Styles */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--copper-light);
  text-decoration: none;
}

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

/* Opacity Utilities */
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }

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

/* Flex Utilities */
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }

/* Text Utilities */
.text-center { text-align: center !important; }
.fw-bold { font-weight: 700 !important; }
.fw-light { font-weight: 300 !important; }

/* Position Utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

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

/* Overflow Utilities */
.overflow-hidden { overflow: hidden !important; }

/* Width Utilities */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Spacing with Grid */
.g-0 { gap: 0 !important; }
.g-3 { gap: 1rem !important; }
.g-4 { gap: 1.5rem !important; }

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

/* Container */
.container,
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container {
  max-width: 1140px;
}

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

/* Row & Columns */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-6,
.col-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.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-10 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

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

/* 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);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
}

/* Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(230, 126, 34, 0.3);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--dark-accent), #0d1620);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 3px solid var(--secondary-color);
}

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

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

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

footer .bi {
  margin-right: 10px;
  color: var(--secondary-color);
}

/* Social Icons */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Responsive Design */
@media (min-width: 768px) {
  .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-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  
  .mb-md-0 { margin-bottom: 0 !important; }
  .mt-md-0 { margin-top: 0 !important; }
  
  .flex-sm-row { flex-direction: row !important; }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .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-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  
  .offset-lg-1 { margin-left: 8.333333%; }
  .offset-lg-2 { margin-left: 16.666667%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
  
  .justify-content-lg-end { justify-content: flex-end !important; }
  
  .d-lg-block { display: block !important; }
  
  .ps-lg-5 { padding-left: 3rem !important; }
  .pe-lg-5 { padding-right: 3rem !important; }
  
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(26, 37, 47, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
  }
  
  .carousel {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-caption {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-1 { font-size: 2.5rem; }
  .display-2 { font-size: 2rem; }
  .display-3 { font-size: 1.75rem; }
  .display-4 { font-size: 1.5rem; }
  .display-5 { font-size: 1.25rem; }
  .display-6 { font-size: 1rem; }
  
  section { padding: 3rem 0; }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .form-section {
    padding: 2rem;
  }
  
  .timeline-line {
    left: 20px;
  }
}

@media (max-width: 767px) {
  .col-6,
  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  .team-card {
    height: 350px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

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

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

button:focus,
a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: var(--dark-accent);
}

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

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