/* Architectural Studio - Charcoal Sunset Theme */

/* ============================================
   ROOT VARIABLES & RESETS
   ============================================ */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --accent-light: #F39C12;
  --dark-charcoal: #1a252f;
  --light-gray: #ecf0f1;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

* {
  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;
  line-height: 1.6;
  color: var(--primary-color) !important;
  background-color: var(--light-gray) !important;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-1 {
  font-weight: 800 !important;
  letter-spacing: -2px !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3) !important;
}

.display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-bottom: 1rem !important;
}

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

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

.text-muted {
  color: #6c757d !important;
}

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

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

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

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

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

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

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%) !important;
  padding: 1rem 0 !important;
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition) !important;
  z-index: 1000 !important;
}

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

.navbar-dark {
  background-color: var(--primary-color) !important;
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
}

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

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

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='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 !important;
}

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

.nav-link {
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 5px !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  position: relative !important;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--secondary-color) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  border: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-light) 100%) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-md) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--secondary-color) 100%) !important;
  color: var(--white) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.end-0 {
  right: 0 !important;
}

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

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

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

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

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

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

.hero-section {
  min-height: 100vh !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 50%, var(--secondary-color) 100%) !important;
  position: relative !important;
  padding-top: 80px !important;
  overflow: hidden !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
  background-size: 100px 100px;
  opacity: 0.3;
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

.hero-section .position-absolute {
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: var(--transition) !important;
  background-color: var(--white) !important;
  height: 100% !important;
}

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

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

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

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

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

.card-img-top {
  height: 250px !important;
  object-fit: cover !important;
  transition: var(--transition) !important;
}

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

.card-body {
  padding: 2rem !important;
  background-color: var(--white) !important;
}

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

.card-text {
  color: #555 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

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

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

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

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

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

/* ============================================
   BADGES
   ============================================ */
.badge {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-light) 100%) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.5px !important;
  display: inline-block !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.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: 1rem !important;
  padding-bottom: 1rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============================================
   BACKGROUND COLORS
   ============================================ */
.bg-light {
  background-color: var(--light-gray) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============================================
   OPACITY
   ============================================ */
.opacity-25 {
  opacity: 0.25 !important;
}

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

/* ============================================
   TEXT DECORATION
   ============================================ */
.text-decoration-none {
  text-decoration: none !important;
}

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

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 2rem !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.9rem !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-light) 100%) !important;
  color: var(--white) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-md) !important;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--white);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.portfolio-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, transparent 100%);
  color: var(--white) !important;
  padding: 2rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.portfolio-item:hover .project-reveal {
  transform: translateY(0);
}

/* ============================================
   FORMS
   ============================================ */
.form-control,
.form-select {
  padding: 0.75rem 1rem !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !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.25) !important;
  outline: none !important;
}

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

.form-check {
  padding-left: 1.5rem !important;
}

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

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

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

/* ============================================
   ICONS (Bootstrap Icons & Font Awesome)
   ============================================ */
.bi,
.fas,
.fa {
  display: inline-block;
  vertical-align: middle;
}

.bi-lightning-charge-fill,
.bi-tree-fill,
.bi-people-fill,
.bi-gear-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-send,
.bi-clock-history,
.bi-calendar-check,
.bi-car-front,
.bi-train-front,
.bi-cup-hot,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-check-circle-fill,
.bi-arrow-right {
  color: var(--secondary-color) !important;
  transition: var(--transition) !important;
}

.fa-sun,
.fa-recycle,
.fa-tint,
.fa-wind,
.fa-certificate,
.fa-leaf,
.fa-home,
.fa-seedling,
.fa-bolt,
.fa-water,
.fa-tree,
.fa-smile,
.fa-brain,
.fa-cubes,
.fa-mobile-alt,
.fa-map-marker-alt,
.fa-phone,
.fa-envelope {
  color: var(--secondary-color) !important;
  transition: var(--transition) !important;
}

.fa-2x {
  font-size: 2em !important;
}

.fa-3x {
  font-size: 3em !important;
}

.card:hover .bi,
.card:hover .fas {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%) !important;
  color: var(--white) !important;
  padding: 5rem 0 !important;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.stats-section .display-3 {
  color: var(--white) !important;
  font-weight: 800 !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background-color: var(--white) !important;
  border-left: 4px solid var(--secondary-color) !important;
  padding: 2rem !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-md) !important;
  transition: var(--transition) !important;
}

.testimonial-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg) !important;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--primary-color) 100%) !important;
  color: var(--white) !important;
  padding: 3rem 0 !important;
}

footer a {
  color: var(--white) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
}

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

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

footer h5,
footer h6,
footer .h5,
footer .h6 {
  color: var(--white) !important;
  margin-bottom: 1.5rem !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);
  }
}

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

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

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

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

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

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

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

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

.g-0 > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.g-2 {
  gap: 1rem;
}

.g-3 {
  gap: 1.5rem;
}

.g-4 {
  gap: 2rem;
}

.g-5 {
  gap: 3rem;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

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

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

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

/* ============================================
   MEDIA QUERIES - MOBILE FIRST
   ============================================ */

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

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

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

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

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

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

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

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

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .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-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .offset-lg-2 {
    margin-left: 16.666667%;
  }

  .order-lg-1 {
    order: 1;
  }

  .order-lg-2 {
    order: 2;
  }

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

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

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

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

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

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

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

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

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ============================================
   MOBILE SPECIFIC STYLES
   ============================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav {
    gap: 0.5rem !important;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .display-1 {
    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;
  }

  .display-6 {
    font-size: 1.25rem !important;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card-img-top {
    height: 200px !important;
  }

  .hero-section {
    min-height: 80vh !important;
  }

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

@media (max-width: 576px) {
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

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

  .display-1 {
    font-size: 2rem !important;
  }

  .lead {
    font-size: 1rem !important;
  }

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.collapse:not(.show) {
  display: none;
}

.collapse.show {
  display: block;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }

  body {
    background-color: white !important;
    color: black !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}