/* Fire Stone Architecture Studio - Custom CSS */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-overlay: rgba(33, 33, 33, 0.85);
  --light-overlay: rgba(255, 255, 255, 0.95);
  --transition-speed: 0.3s;
  --fire-gradient: linear-gradient(135deg, #D32F2F 0%, #FF6F00 50%, #FFC107 100%);
  --stone-gradient: linear-gradient(135deg, #424242 0%, #616161 50%, #757575 100%);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Navigation */
.navbar {
  background: var(--secondary-color) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(66, 66, 66, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.navbar-brand.fw-bold {
  font-weight: 800 !important;
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 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, 0.8%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-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 500;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.nav-link:hover {
  color: #ffffff !important;
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
}

.nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background: var(--stone-gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l100 100M100 0L0 100" stroke="%23000" stroke-width="0.5" opacity="0.05"/%3E%3C/svg%3E');
  opacity: 0.3;
}

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

/* Flame Geometric Elements */
.flame-geometric-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.flame-polygon-1 {
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: var(--fire-gradient);
  opacity: 0.15;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float 6s ease-in-out infinite;
}

.flame-polygon-2 {
  bottom: 15%;
  right: 8%;
  width: 200px;
  height: 200px;
  background: var(--fire-gradient);
  opacity: 0.12;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation: float 8s ease-in-out infinite 1s;
}

.flame-polygon-3 {
  top: 50%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  opacity: 0.1;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

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

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

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

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

.btn-primary,
.btn[style*="background"] {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #b71c1c !important;
  border-color: #b71c1c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4) !important;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  background: transparent !important;
}

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

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

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

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

.btn-outline-dark:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 66, 66, 0.3) !important;
}

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

.btn-outline-danger:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4) !important;
}

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

.btn-outline-secondary:hover,
.btn-outline-secondary.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

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

.filter-btn {
  border-radius: 25px;
  transition: all var(--transition-speed) ease;
}

.filter-btn.active {
  transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-dot {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: scroll 2s infinite;
}

.scroll-dot:hover {
  border-color: var(--primary-color);
}

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

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* Images */
.img-fluid {
  transition: all var(--transition-speed) ease;
}

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

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

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

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

/* Cards */
.card {
  border: none;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card-body {
  padding: 1.5rem;
}

.service-card {
  border-radius: 8px;
  background: #ffffff;
  height: 100%;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--fire-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.service-details.show {
  max-height: 500px;
}

/* Portfolio */
.portfolio-item {
  margin-bottom: 2rem;
  cursor: pointer;
}

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

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-overlay);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
}

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

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

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.bg-primary,
.badge.bg-primary {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

.bg-secondary,
.badge.bg-secondary {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
}

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

/* Text Colors */
.text-white {
  color: #ffffff !important;
}

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

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

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

.bi-lightbulb,
.bi-chat-dots,
.bi-tree,
.bi-clock-history,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter,
.bi-arrow-right,
.bi-calendar-check,
.bi-fire,
.bi-house-door,
.bi-check-circle-fill,
.bi-chevron-down,
.bi-chevron-up,
.bi-building,
.bi-palette,
.bi-arrow-right-circle-fill,
.bi-clipboard-check,
.bi-box {
  font-size: 1.25rem;
}

.flex-shrink-0 {
  width: 60px;
  height: 60px;
  background: var(--fire-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
}

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

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

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

.form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

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

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.15) !important;
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.5rem;
}

.invalid-feedback {
  display: none;
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: var(--primary-color) !important;
}

/* Sections */
section {
  position: relative;
}

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

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

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

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

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

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

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

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

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

.mt-5 {
  margin-top: 4rem !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: 2rem !important;
}

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

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

/* Borders */
.border-bottom {
  border-bottom: 1px solid #e0e0e0 !important;
}

.border-top {
  border-top: 1px solid #e0e0e0 !important;
}

.border-light {
  border-color: #e0e0e0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

.d-inline-flex {
  display: inline-flex !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-items-stretch {
  align-items: stretch !important;
}

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

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

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

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

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

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

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

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

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

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

.pe-lg-4 {
  padding-right: 2rem !important;
}

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

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

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

.p-5 {
  padding: 3rem !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;
}

.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: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Text Utilities */
.text-center {
  text-align: center !important;
}

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

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

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

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

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

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

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

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

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

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

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

/* Footer Links */
footer a {
  transition: all var(--transition-speed) ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Social Links */
.bi-facebook:hover {
  color: #1877f2 !important;
}

.bi-instagram:hover {
  color: #e4405f !important;
}

.bi-linkedin:hover {
  color: #0077b5 !important;
}

.bi-twitter:hover {
  color: #1da1f2 !important;
}

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

/* Display */
.d-none {
  display: none !important;
}

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

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

/* Expand/Collapse Text */
.expand-text,
.collapse-text {
  cursor: pointer;
  color: var(--primary-color);
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.expand-text:hover,
.collapse-text:hover {
  color: #b71c1c;
}

.collapse-text {
  display: none;
}

.service-details.show ~ .expand-text {
  display: none;
}

.service-details.show ~ .collapse-text {
  display: inline-block;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(66, 66, 66, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .nav-link::before {
    left: 1rem;
    right: auto;
    width: 3px;
    height: 0;
    bottom: auto;
    top: 0.75rem;
  }
  
  .nav-link:hover::before,
  .nav-link.active::before {
    transform: scaleY(1);
    height: calc(100% - 1.5rem);
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .flame-polygon-1,
  .flame-polygon-2,
  .flame-polygon-3 {
    display: none;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .portfolio-card {
    height: 280px;
  }
  
  .position-sticky {
    position: relative !important;
    top: auto;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .text-md-end {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .portfolio-card {
    height: 250px;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .service-card .card-body {
    padding: 1.5rem;
  }
  
  .flex-shrink-0 {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-2 {
    font-size: 1.75rem;
  }
  
  .display-3 {
    font-size: 1.5rem;
  }
  
  .display-4 {
    font-size: 1.35rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
  
  .portfolio-card {
    height: 220px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-indicator,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
  }
  
  .container {
    max-width: 100%;
  }
}