/* Urban Steel Architecture Studio Theme */
/* Primary Color: #2C3E50, Secondary Color: #E67E22 */

/* ===== CSS Variables & Base Styles ===== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --primary-dark: #1a252f;
  --secondary-dark: #d35400;
  --light-gray: #ecf0f1;
  --dark-gray: #34495e;
  --text-light: #bdc3c7;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 6px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 10px 25px rgba(44, 62, 80, 0.2);
}

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

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

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

.display-3 { font-size: clamp(2.5rem, 5vw, 4.5rem) !important; }
.display-4 { font-size: clamp(2rem, 4vw, 3.5rem) !important; }
.display-5 { font-size: clamp(1.75rem, 3.5vw, 3rem) !important; }
.display-6 { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; }

.h1, h1 { font-size: clamp(2rem, 4vw, 2.5rem) !important; }
.h2, h2 { font-size: clamp(1.75rem, 3.5vw, 2rem) !important; }
.h3, h3 { font-size: clamp(1.5rem, 3vw, 1.75rem) !important; }
.h4, h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important; }
.h5, h5 { font-size: clamp(1.1rem, 2vw, 1.25rem) !important; }
.h6, h6 { font-size: clamp(1rem, 1.5vw, 1.1rem) !important; }

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

.text-white { color: #ffffff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-muted { color: var(--text-light) !important; }

/* ===== Navigation ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 1rem 0 !important;
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  box-shadow: var(--shadow-lg);
}

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

.navbar-dark .navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !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-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) ease;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !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;
}

/* ===== Hero Section ===== */
.position-relative.vh-100 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.position-absolute.w-100.h-100 {
  z-index: 0;
}

.object-fit-cover {
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(30%);
}

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

.display-3.text-white {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

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

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

.opacity-90 {
  opacity: 0.9 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

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

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

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

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

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

.btn-outline-light:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* ===== Scroll Indicator ===== */
.animate-bounce {
  animation: bounce 2s infinite;
}

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

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

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

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

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

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

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

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

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

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

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

/* ===== Images ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: transform var(--transition-speed) ease;
}

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

.rounded {
  border-radius: 0.5rem !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;
}

/* ===== Cards ===== */
.card {
  border: none !important;
  border-radius: 0 !important;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  overflow: hidden;
}

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

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

.card-img-top {
  transition: transform 0.5s ease;
}

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

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

.border-bottom {
  border-bottom: 2px solid var(--light-gray) !important;
}

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

/* ===== Text Utilities ===== */
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; letter-spacing: 1px; }
.text-decoration-none { text-decoration: none !important; }

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

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

/* ===== Spacing ===== */
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !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; }

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

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

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

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

/* ===== Grid System ===== */
.g-0 { gap: 0 !important; }
.g-3 { gap: 1.5rem !important; }
.g-4 { gap: 2rem !important; }
.g-5 { gap: 3rem !important; }

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

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

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-md-row { flex-direction: row !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !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; }

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

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

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

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

/* ===== Sizing ===== */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.vh-100 { height: 100vh !important; }

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

/* ===== Forms ===== */
.form-control,
.form-select {
  border: 2px solid var(--light-gray) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem !important;
  color: var(--primary-color) !important;
  background-color: #ffffff !important;
  transition: all var(--transition-speed) ease;
}

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

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.1rem !important;
}

.form-label {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.form-check-input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  border: 2px solid var(--light-gray) !important;
  border-radius: 0 !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.15) !important;
}

.form-check-label {
  color: var(--dark-gray) !important;
  margin-left: 0.5rem;
}

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

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

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block !important;
}

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

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

.list-unstyled a {
  color: var(--dark-gray) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

/* ===== Background Colors ===== */
.bg-white { background-color: #ffffff !important; }
.bg-dark { background-color: var(--primary-color) !important; color: #ffffff !important; }

/* ===== Portfolio Section ===== */
.portfolio-filters {
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 2rem !important;
  margin: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
}

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

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(230, 126, 34, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  padding: 2rem;
}

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

.portfolio-overlay h4,
.portfolio-overlay p {
  color: #ffffff !important;
  margin: 0.5rem 0;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* ===== Project Item ===== */
.project-item {
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  padding: 1rem;
  border-left: 3px solid transparent;
}

.project-item:hover {
  background-color: rgba(230, 126, 34, 0.05);
  border-left-color: var(--secondary-color);
  transform: translateX(5px);
}

/* ===== Progress Bars ===== */
.progress {
  height: 1.5rem !important;
  background-color: var(--light-gray) !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  transition: width 1s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-send,
.bi-telephone,
.bi-arrow-right,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-check-circle-fill,
.bi-arrow-right-circle-fill,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-thermometer-half,
.bi-brightness-high,
.bi-droplet-half,
.bi-recycle,
.bi-lightning-charge,
.bi-quote,
.bi-twitter {
  color: var(--secondary-color) !important;
}

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

/* ===== Privacy Content ===== */
.privacy-content {
  color: var(--dark-gray) !important;
}

.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
  color: var(--primary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.privacy-content ul {
  padding-left: 2rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

/* ===== Navigation Pills ===== */
.nav {
  display: flex;
  flex-wrap: wrap;
}

.nav .nav-link {
  color: var(--primary-color) !important;
  padding: 1rem 1.5rem !important;
  transition: all var(--transition-speed) ease;
  border-left: 3px solid transparent;
}

.nav .nav-link:hover,
.nav .nav-link.active {
  background-color: rgba(230, 126, 34, 0.1) !important;
  border-left-color: var(--secondary-color);
  color: var(--secondary-color) !important;
}

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

.fade-in-up {
  animation: fadeInUp 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;
}

/* ===== Scroll Animations ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-dark);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-left: 3px solid transparent;
  }
  
  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link.active {
    border-left-color: var(--secondary-color);
    background-color: rgba(230, 126, 34, 0.1);
  }
  
  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
  
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2rem !important; }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .col-lg-8, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2,
  .col-lg-7, .col-lg-9, .col-lg-10, .col-lg-12 {
    margin-bottom: 2rem;
  }
  
  .offset-lg-1, .offset-lg-2 {
    margin-left: 0 !important;
  }
  
  .order-lg-1, .order-lg-2 {
    order: 0 !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-3 { font-size: 2rem !important; }
  .h1, h1 { font-size: 1.75rem !important; }
  .h2, h2 { font-size: 1.5rem !important; }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  .col-md-6, .col-md-4, .col-md-5, .col-md-7, .col-md-8, .col-md-3 {
    margin-bottom: 1.5rem;
  }
  
  .flex-md-row {
    flex-direction: column !important;
  }
  
  .text-md-start, .text-md-end {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
  
  .px-4, .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .col-sm-6 {
    margin-bottom: 1rem;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
  
  .g-4 {
    gap: 1rem !important;
  }
  
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===== Container Fluid ===== */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1400px) {
  .container, .container-fluid {
    max-width: 1320px;
    margin: 0 auto;
  }
}

/* ===== Small Utilities ===== */
.small {
  font-size: 0.875rem !important;
  color: var(--text-light) !important;
}

/* ===== Additional Hover Effects ===== */
a {
  transition: all var(--transition-speed) ease;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

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

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ===== Selection ===== */
::selection {
  background-color: var(--secondary-color);
  color: #ffffff;
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* ===== Focus Visible ===== */
:focus-visible {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
  .navbar, .btn, .portfolio-filters, .form-check {
    display: none !important;
  }
}