/* Fire & Steel Architecture Studio - Custom CSS */

/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-color: #D73027;
  --secondary-color: #2C3E50;
  --dark-color: #1a252f;
  --light-color: #f8f9fa;
  --steel-gray: #6c757d;
  --fire-orange: #ff6b35;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 4px rgba(215, 48, 39, 0.1);
  --shadow-md: 0 4px 6px rgba(215, 48, 39, 0.15);
  --shadow-lg: 0 10px 25px rgba(215, 48, 39, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--secondary-color) !important;
}

.text-white .display-1,
.text-white .display-2,
.text-white .display-3,
.text-white .display-4,
.text-white .display-5,
.text-white .display-6 {
  color: #ffffff !important;
}

.lead {
  font-weight: 400;
  opacity: 0.95;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--secondary-color);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

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

.navbar-brand {
  font-size: 1.75rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
  transition: all var(--transition-speed) ease;
}

.navbar-toggler:hover {
  border-color: var(--primary-color) !important;
  background-color: rgba(215, 48, 39, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(215, 48, 39, 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;
}

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

.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;
  z-index: -1;
}

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

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

.btn-primary:hover {
  background-color: #c01e18 !important;
  border-color: #c01e18 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(215, 48, 39, 0.4) !important;
  color: #ffffff !important;
}

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

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

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

.btn-light:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(215, 48, 39, 0.4) !important;
}

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

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4) !important;
}

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

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(215, 48, 39, 0.25) !important;
}

/* Filter Buttons */
.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.25rem !important;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 48, 39, 0.3) !important;
}

/* ==================== HERO SECTION ==================== */
.position-relative.overflow-hidden {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(215, 48, 39, 0.15) 0%, rgba(44, 62, 80, 0.85) 100%);
  z-index: 1;
}

.position-relative.overflow-hidden .position-absolute {
  z-index: 0;
  opacity: 0.3;
}

.position-relative.overflow-hidden .container {
  position: relative;
  z-index: 2;
}

.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

/* Hero Text Animations */
.text-white .display-1 {
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.text-white .lead,
.text-white .fs-3 {
  animation: fadeInUp 1s ease-out 0.3s backwards;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.d-flex.gap-3 {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

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

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

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* ==================== CARDS ==================== */
.card {
  border: none !important;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(215, 48, 39, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

.shadow {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

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

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

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item,
.portfolio-item-large,
.portfolio-item-tall,
.portfolio-item-wide {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  height: 350px;
}

.portfolio-item-large {
  grid-column: span 2;
  height: 450px;
}

.portfolio-item-tall {
  grid-row: span 2;
  height: 720px;
}

.portfolio-item-wide {
  grid-column: span 2;
}

.portfolio-card {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img,
.portfolio-item-large:hover .portfolio-img,
.portfolio-item-tall:hover .portfolio-img,
.portfolio-item-wide:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(215, 48, 39, 0.95) 0%, rgba(44, 62, 80, 0.95) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item-large:hover .portfolio-overlay,
.portfolio-item-tall:hover .portfolio-overlay,
.portfolio-item-wide:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  text-align: center;
  color: #ffffff;
  transform: translateY(20px);
  transition: transform var(--transition-speed) ease;
}

.portfolio-item:hover .portfolio-content,
.portfolio-item-large:hover .portfolio-content,
.portfolio-item-tall:hover .portfolio-content,
.portfolio-item-wide:hover .portfolio-content {
  transform: translateY(0);
}

/* ==================== IMAGES ==================== */
.img-fluid {
  transition: transform var(--transition-speed) ease;
}

.img-fluid:hover {
  transform: scale(1.02);
}

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

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

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

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

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

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

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

/* ==================== BADGES ==================== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* ==================== FORMS ==================== */
.form-label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  border-radius: 4px;
  background-color: #ffffff !important;
  color: var(--secondary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(215, 48, 39, 0.15) !important;
  outline: none;
}

.form-control::placeholder {
  color: #999999 !important;
  opacity: 1;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e0e0e0 !important;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.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(215, 48, 39, 0.15) !important;
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.5rem;
  color: var(--secondary-color);
}

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

a .bi-facebook:hover,
a .bi-instagram:hover,
a .bi-linkedin:hover,
a .bi-twitter:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.bi-check2,
.bi-check-circle-fill,
.bi-arrow-right {
  color: var(--primary-color);
}

/* Icon Sizes */
.bi.me-3,
.bi.me-2,
.bi.ms-2 {
  font-size: 1.5rem;
}

/* ==================== TEXT UTILITIES ==================== */
.text-white {
  color: #ffffff !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==================== LINKS ==================== */
a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: #c01e18;
}

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

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

/* Footer Links */
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all var(--transition-speed) ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==================== SPACING ==================== */
.p-0 {
  padding: 0 !important;
}

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

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

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

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

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

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

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

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

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

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

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

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

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

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

.m-4 {
  margin: 1.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.container {
  max-width: 1200px;
}

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

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

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

.g-3 {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.g-3 > * {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-4 {
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

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

.g-5 {
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

.g-5 > * {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

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

/* ==================== WIDTH & HEIGHT ==================== */
.w-100 {
  width: 100% !important;
}

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

/* ==================== BORDERS & RADIUS ==================== */
.border-0 {
  border: none !important;
}

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

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

/* ==================== SPECIAL SECTIONS ==================== */
/* About Section with Image */
.col-lg-5.mb-lg-0 .img-fluid,
.col-lg-6 .img-fluid,
.col-lg-7 .img-fluid {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.col-lg-5.mb-lg-0 .img-fluid:hover,
.col-lg-6 .img-fluid:hover,
.col-lg-7 .img-fluid:hover {
  transform: scale(1.03) rotate(1deg);
}

/* Service Cards */
.col-md-6.col-lg-4 .p-4 {
  background: #ffffff;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.col-md-6.col-lg-4 .p-4:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(215, 48, 39, 0.2);
}

/* Stats Section */
.col-6.col-md-3 {
  text-align: center;
  padding: 2rem 1rem;
  transition: all var(--transition-speed) ease;
}

.col-6.col-md-3:hover {
  transform: scale(1.05);
}

.col-6.col-md-3 .display-3 {
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(215, 48, 39, 0.1);
}

/* Team Section */
.col-sm-6.col-md-4 .card {
  border: none;
  overflow: hidden;
  border-radius: 8px;
}

.col-sm-6.col-md-4 .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(215, 48, 39, 0.2);
}

/* Contact Info Icons */
.col-lg-3.col-md-12 .bi {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--fire-orange));
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-speed) ease;
}

.col-lg-3.col-md-12:hover .bi {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(215, 48, 39, 0.4);
}

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

footer .h5,
footer .h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* Social Media Icons */
footer .bi-facebook,
footer .bi-instagram,
footer .bi-linkedin,
footer .bi-twitter {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
}

footer .bi-facebook:hover,
footer .bi-instagram:hover,
footer .bi-linkedin:hover,
footer .bi-twitter:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(215, 48, 39, 0.4);
}

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

/* Mobile First - Base styles above are for mobile */

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

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

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

  .display-3 {
    font-size: 3.5rem !important;
  }

  .display-4 {
    font-size: 3rem !important;
  }

  .display-5 {
    font-size: 2.5rem !important;
  }

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

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

  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

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

  .col-md-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-md-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }

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

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

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

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

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

  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

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

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }

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

  .offset-lg-1 {
    margin-left: 8.333333%;
  }

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

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

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

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

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

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

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

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

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
  .display-1 {
    font-size: 3rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

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

  .display-5 {
    font-size: 1.75rem !important;
  }

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

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

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

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

  section {
    padding: 3rem 0;
  }

  .navbar-brand {
    font-size: 1.5rem !important;
  }

  .position-relative.overflow-hidden {
    min-height: 90vh;
  }

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

  .portfolio-item-large,
  .portfolio-item-tall,
  .portfolio-item-wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 350px;
  }

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

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

/* ==================== UTILITY CLASSES ==================== */
.col-sm-6 {
  flex: 0 0 auto;
  width: 50%;
}

@media (max-width: 575px) {
  .col-6 {
    width: 50%;
  }

  .col-12 {
    width: 100%;
  }
}

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

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

/* ==================== LOADING SPINNER ==================== */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(215, 48, 39, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

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

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

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

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

  body {
    color: #000000;
    background: #ffffff;
  }
}