/* Nordic Slate Architecture Studio - CSS */

/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E8F4F8;
  --accent-color: #34495E;
  --light-gray: #F8F9FA;
  --dark-gray: #495057;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 24px rgba(44, 62, 80, 0.2);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--primary-color) !important;
  background-color: var(--white) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6,
.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.02em;
  line-height: 1.2 !important;
}

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
}

.display-3 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
}

.display-4 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  color: var(--dark-gray) !important;
  font-weight: 400 !important;
}

.fs-1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

.fs-2 {
  font-size: clamp(1.75rem, 3vw, 2rem) !important;
}

.fs-4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem) !important;
}

.fs-5 {
  font-size: clamp(1rem, 1.5vw, 1.125rem) !important;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0 !important;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  z-index: 1030 !important;
}

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

.navbar.sticky-top {
  background-color: rgba(44, 62, 80, 0.95) !important;
}

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: -0.01em;
  transition: var(--transition-fast);
  text-transform: uppercase;
}

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

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

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

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

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

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

.nav-link.active {
  color: var(--white) !important;
  background-color: rgba(232, 244, 248, 0.2) !important;
  font-weight: 600 !important;
}

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

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

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

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

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1.125rem !important;
}

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

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

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

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

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

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px) !important;
}

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

.btn-group {
  gap: 0.5rem;
  flex-wrap: wrap;
}

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

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

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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="%23ffffff" fill-opacity="0.03"%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.5;
}

.hero-section .container-fluid,
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1,
.hero-section .display-1 {
  color: var(--white) !important;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease-out;
}

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

/* ========================================
   CARDS & PORTFOLIO
   ======================================== */
.card {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition-base) !important;
  overflow: hidden;
  background-color: var(--white) !important;
  height: 100%;
}

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

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

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

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  animation: fadeIn 0.6s ease-out;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 400px;
  background-color: var(--light-gray);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white) !important;
}

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

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

.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay h5 {
  color: var(--white) !important;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.filter-btn {
  margin: 0.25rem;
  transition: var(--transition-fast);
}

/* ========================================
   BADGES & LABELS
   ======================================== */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

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

/* ========================================
   MODALS
   ======================================== */
.modal {
  z-index: 1055 !important;
}

.modal-content {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden;
}

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

.modal-header h5,
.modal-header .h5 {
  color: var(--white) !important;
}

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

.modal-footer {
  border-top: 1px solid rgba(44, 62, 80, 0.1) !important;
  padding: 1.5rem 2rem !important;
}

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

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

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

.form-control,
.form-select {
  border: 2px solid rgba(44, 62, 80, 0.15) !important;
  border-radius: var(--border-radius) !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: var(--transition-fast) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.15) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

.form-control::placeholder {
  color: rgba(44, 62, 80, 0.5) !important;
}

.form-check-input {
  border: 2px solid rgba(44, 62, 80, 0.25) !important;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

.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(44, 62, 80, 0.15) !important;
}

.form-check-label {
  color: var(--primary-color) !important;
  font-weight: 500 !important;
}

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

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

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

/* ========================================
   IMAGES & MEDIA
   ======================================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

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

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

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

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

/* ========================================
   SECTIONS & CONTAINERS
   ======================================== */
.container,
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !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;
}

.mt-auto {
  margin-top: auto !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;
}

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

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

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

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

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

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

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

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

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

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

/* ========================================
   BACKGROUNDS & COLORS
   ======================================== */
.bg-light {
  background-color: var(--secondary-color) !important;
}

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

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

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

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

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

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

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

/* ========================================
   BORDERS
   ======================================== */
.border {
  border: 1px solid rgba(44, 62, 80, 0.15) !important;
}

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

.border-bottom {
  border-bottom: 1px solid rgba(44, 62, 80, 0.15) !important;
}

.border-secondary {
  border-color: rgba(44, 62, 80, 0.15) !important;
}

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

.d-inline-flex {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.bi-house-door,
.bi-building,
.bi-leaf,
.bi-layout-text-window-reverse,
.bi-bank,
.bi-pin-map,
.bi-telephone,
.bi-envelope,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-brightness-high,
.bi-tree,
.bi-droplet,
.bi-wind,
.bi-recycle,
.bi-thermometer-half,
.bi-award-fill,
.bi-house-check-fill,
.bi-tree-fill,
.bi-globe {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* ========================================
   PROGRESS BARS
   ======================================== */
.progress {
  height: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--secondary-color) !important;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color) !important;
  transition: width 1s ease-in-out;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ========================================
   GRID UTILITIES
   ======================================== */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.g-0 {
  margin-left: 0;
  margin-right: 0;
}

.g-0 > * {
  padding-left: 0;
  padding-right: 0;
}

.g-4 {
  gap: 1.5rem;
}

.col-12 {
  width: 100%;
}

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

/* ========================================
   FOOTER
   ======================================== */
footer {
  background-color: var(--primary-color) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 0 1rem;
}

footer h3,
footer h4,
footer h5,
footer .h3,
footer .h4,
footer .h5 {
  color: var(--white) !important;
}

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

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

footer .list-unstyled li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .list-unstyled li:last-child {
  border-bottom: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  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);
  }
}

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

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

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

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

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(44, 62, 80, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .col-sm-6 {
    width: 50%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-3 {
    width: 25%;
  }
  
  .col-md-4 {
    width: 33.333333%;
  }
  
  .col-md-5 {
    width: 41.666667%;
  }
  
  .col-md-6 {
    width: 50%;
  }
  
  .col-md-7 {
    width: 58.333333%;
  }
  
  .col-md-12 {
    width: 100%;
  }
  
  .order-md-1 {
    order: 1;
  }
  
  .order-md-2 {
    order: 2;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .col-lg-2 {
    width: 16.666667%;
  }
  
  .col-lg-3 {
    width: 25%;
  }
  
  .col-lg-4 {
    width: 33.333333%;
  }
  
  .col-lg-5 {
    width: 41.666667%;
  }
  
  .col-lg-6 {
    width: 50%;
  }
  
  .col-lg-7 {
    width: 58.333333%;
  }
  
  .col-lg-8 {
    width: 66.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;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .ps-lg-4 {
    padding-left: 1.5rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .modal-xl {
    max-width: 1140px;
  }
}

/* Mobile specific */
@media (max-width: 767px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .navbar-nav {
    padding: 1rem 0;
    background-color: rgba(44, 62, 80, 0.98);
    margin: 0 -1rem;
    padding: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  .modal-body {
    padding: 1.5rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .modal,
  footer {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}