/* Midnight Copper Architecture Studio Theme - CSS */

/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-overlay: rgba(44, 62, 80, 0.95);
  --light-overlay: rgba(230, 126, 34, 0.1);
  --copper-gradient: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
  --midnight-gradient: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-hard: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
  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: #2C3E50 !important;
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: #2C3E50 !important;
  line-height: 1.2 !important;
}

.display-2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
}

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

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

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

.display-6 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  color: rgba(44, 62, 80, 0.85) !important;
}

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

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

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

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

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

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

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

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
  padding: 1rem 0 !important;
  transition: var(--transition-smooth);
  background: transparent !important;
  z-index: 1050;
}

.navbar.scrolled {
  background: var(--midnight-gradient) !important;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3) !important;
  padding: 0.5rem 0 !important;
}

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

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

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

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

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

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--copper-gradient);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: #E67E22 !important;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px !important;
  transition: var(--transition-smooth);
  border: none !important;
  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,
.btn-lg.btn-primary {
  background: var(--copper-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4) !important;
}

.btn-primary:hover,
.btn-lg.btn-primary:hover {
  background: linear-gradient(135deg, #D35400 0%, #C0392B 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.6) !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: #2C3E50 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

.btn-light {
  background: #ffffff !important;
  color: #2C3E50 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.btn-light:hover {
  background: #f8f9fa !important;
  color: #E67E22 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

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

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

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

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

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

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

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

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

.min-vh-100 {
  min-height: 100vh !important;
  display: flex;
  align-items: center;
}

.min-vh-50 {
  min-height: 50vh !important;
}

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

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

.position-sticky {
  position: sticky !important;
  top: 80px;
  z-index: 100;
}

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

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

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

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

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

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

.h-100 {
  height: 100% !important;
}

.w-lg-auto {
  width: auto !important;
}

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

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

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

/* Hero Background */
.position-relative.min-vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--midnight-gradient);
  z-index: 1;
}

.position-relative.min-vh-100::after {
  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;
  z-index: 2;
}

.position-relative.min-vh-100 .container {
  position: relative;
  z-index: 3;
}

/* Chevron Animation */
.bi-chevron-down {
  animation: bounce 2s infinite;
  font-size: 2rem;
  color: #ffffff !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.bi-chevron-down:hover {
  color: #E67E22 !important;
  transform: translateY(5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ========================================
   CARDS & COMPONENTS
   ======================================== */
.card {
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none !important;
  background: #ffffff !important;
}

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

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

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

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

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

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

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

.card-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #2C3E50 !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: rgba(44, 62, 80, 0.8) !important;
  line-height: 1.8 !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

/* Hover Lift Effect */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 2rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 62, 80, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

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

.filter-btn {
  background: transparent !important;
  border: 2px solid #2C3E50 !important;
  color: #2C3E50 !important;
  padding: 0.75rem 2rem !important;
  margin: 0.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--copper-gradient) !important;
  border-color: #E67E22 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4) !important;
}

/* ========================================
   ICONS & BADGES
   ======================================== */
.bi {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.rounded-circle {
  border-radius: 50% !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-overlay);
  color: #E67E22 !important;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.card:hover .rounded-circle {
  background: var(--copper-gradient);
  color: #ffffff !important;
  transform: rotate(360deg);
}

.badge {
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--copper-gradient) !important;
  color: #ffffff !important;
  display: inline-block;
}

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

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

.bg-success {
  background-color: #27ae60 !important;
}

.bg-secondary {
  background-color: #95a5a6 !important;
}

.text-dark {
  color: #2C3E50 !important;
}

/* ========================================
   FORMS
   ======================================== */
.needs-validation .form-control,
.needs-validation .form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth);
  background: #ffffff !important;
  color: #2C3E50 !important;
}

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

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

.form-label {
  font-weight: 600 !important;
  color: #2C3E50 !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.95rem !important;
}

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

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

.needs-validation .form-control.is-valid,
.needs-validation .form-select.is-valid {
  border-color: #27ae60 !important;
}

textarea.form-control {
  min-height: 150px !important;
  resize: vertical !important;
}

/* ========================================
   PROGRESS BARS
   ======================================== */
.progress {
  height: 12px !important;
  border-radius: 10px !important;
  background-color: #e0e0e0 !important;
  overflow: hidden;
}

.progress-bar {
  background: var(--copper-gradient) !important;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 10px !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.m-0 {
  margin: 0 !important;
}

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

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

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

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

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

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

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

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

.mt-lg-0 {
  margin-top: 0 !important;
}

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

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

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

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

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

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

/* ========================================
   LAYOUT & GRID
   ======================================== */
.container {
  max-width: 1320px !important;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

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

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

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

.g-3 > * {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-bottom: 2rem !important;
}

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

.g-4 > * {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  margin-bottom: 3rem !important;
}

.g-5 {
  margin-left: -2rem !important;
  margin-right: -2rem !important;
}

.g-5 > * {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  margin-bottom: 4rem !important;
}

[class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

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

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

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

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

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

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

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

.flex-shrink-0 {
  flex-shrink: 0 !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ========================================
   LINKS
   ======================================== */
a {
  color: #E67E22 !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

a:hover {
  color: #D35400 !important;
  text-decoration: none !important;
}

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

.text-white a:hover {
  color: #E67E22 !important;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--midnight-gradient) !important;
  color: #ffffff !important;
  padding: 4rem 0 2rem !important;
}

footer * {
  color: rgba(255, 255, 255, 0.9) !important;
}

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

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

footer a:hover {
  color: #E67E22 !important;
  transform: translateX(5px);
}

footer .bi {
  color: #E67E22 !important;
  margin-right: 0.75rem;
}

/* ========================================
   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-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .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%;
  }
  
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .w-lg-auto {
    width: auto !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;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 2rem;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .nav-link::before {
    display: none;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
  }
  
  .rounded-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  footer {
    text-align: center;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .g-4 > *,
  .g-5 > * {
    margin-bottom: 2rem !important;
  }
}

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

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

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

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

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

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

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

/* Small utility for Bootstrap Icons sizing */
.bi-house-door,
.bi-building,
.bi-clock-history,
.bi-tree,
.bi-map,
.bi-rulers,
.bi-arrow-right,
.bi-chat-dots,
.bi-heart,
.bi-recycle,
.bi-telephone,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-geo-alt,
.bi-envelope,
.bi-compass,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-pencil-square,
.bi-clock-fill,
.bi-car-front-fill,
.bi-subway,
.bi-bus-front,
.bi-bicycle,
.bi-calendar-check,
.bi-twitter,
.bi-arrows-expand,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-tree-fill,
.bi-award-fill,
.bi-shield-check,
.bi-building-check,
.bi-graph-up-arrow,
.bi-moisture,
.bi-bullseye,
.bi-sun-fill,
.bi-box-seam,
.bi-droplet-half,
.bi-arrow-repeat,
.bi-info-circle {
  font-size: inherit;
}

/* Make sure icons in footer/social are visible */
footer .bi-linkedin,
footer .bi-instagram,
footer .bi-facebook,
footer .bi-twitter {
  font-size: 1.5rem !important;
  transition: var(--transition-smooth);
}

footer .bi-linkedin:hover,
footer .bi-instagram:hover,
footer .bi-facebook:hover,
footer .bi-twitter:hover {
  transform: translateY(-5px) scale(1.1);
  color: #E67E22 !important;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    break-inside: avoid;
  }
}