/* Architecture Studio - Slate & Amber Theme */
/* Primary: #2C3E50, Secondary: #E67E22 */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --primary-dark: #1a252f;
  --secondary-dark: #d35400;
  --light-gray: #ecf0f1;
  --dark-gray: #34495e;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --amber-light: #f39c12;
  --transition-speed: 0.3s;
}

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--dark-gray);
}

h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 600;
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(44, 62, 80, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed);
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: all var(--transition-speed);
  position: relative;
}

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

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

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 40px;
}

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

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

/* Hero Slideshow */
.hero-slideshow {
  margin-top: 72px;
}

.carousel {
  height: 90vh;
  min-height: 600px;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.6) 100%);
  padding: 2rem;
}

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

.carousel-caption .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease-out;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed);
  border: none;
  position: relative;
  overflow: hidden;
}

.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-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

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

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

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

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
}

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

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

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

.btn-light:hover {
  background: var(--white) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(230, 126, 34, 0.8) !important;
  border-radius: 50%;
  opacity: 0.9;
  transition: all var(--transition-speed);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: var(--secondary-color) !important;
  transform: translateY(-50%) scale(1.1);
}

/* Animate Bounce */
.animate-bounce {
  animation: bounce 2s infinite;
}

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

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

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

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

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

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

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  transition: all var(--transition-speed);
  height: 100%;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.2);
}

.service-card .bi {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed);
}

.service-card:hover .bi {
  transform: scale(1.2) rotate(5deg);
}

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--dark-gray);
  line-height: 1.8;
}

/* Badge */
.badge {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

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

.card:hover {
  transform: translateY(-5px);
}

.card-body {
  padding: 2rem;
}

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

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

.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Timeline */
.timeline-container {
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--amber-light));
  transform: translateX(-50%);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item .rounded-circle {
  background: var(--secondary-color);
  color: var(--white) !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.timeline-item .card {
  border: 2px solid var(--light-gray);
}

.timeline-item:hover .card {
  border-color: var(--secondary-color);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  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.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
  padding: 2rem;
}

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

.portfolio-overlay h4,
.portfolio-overlay p {
  color: var(--white) !important;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

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

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

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

/* Hexagon Container */
.hexagon-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.service-hex {
  position: relative;
}

.hex-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hex-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.2);
}

.hex-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--amber-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all var(--transition-speed);
}

.hex-card:hover .hex-icon-wrapper {
  transform: rotate(360deg);
}

.hex-icon-wrapper .bi {
  font-size: 2rem;
  color: var(--white);
}

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

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  transition: all var(--transition-speed);
  color: var(--text-dark);
  background: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.2) !important;
  color: var(--text-dark);
}

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

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

.form-check-input {
  border: 2px solid var(--dark-gray);
  width: 1.25rem;
  height: 1.25rem;
}

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

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

.invalid-feedback {
  color: #e74c3c;
  font-weight: 500;
}

.input-group {
  border-radius: 8px;
  overflow: hidden;
}

/* Table */
.table {
  border-radius: 8px;
  overflow: hidden;
}

.table thead {
  background: var(--primary-color);
  color: var(--white) !important;
}

.table thead th {
  color: var(--white) !important;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table tbody tr {
  transition: all var(--transition-speed);
}

.table tbody tr:hover {
  background: rgba(230, 126, 34, 0.05);
  transform: scale(1.01);
}

.table-bordered {
  border: 2px solid var(--light-gray);
}

/* Accordion */
.accordion-item {
  border: 2px solid var(--light-gray) !important;
  border-radius: 8px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-speed);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--white) !important;
  box-shadow: none;
}

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

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button.collapsed::after {
  filter: none;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  color: var(--dark-gray);
}

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

/* Text Colors */
.text-white {
  color: var(--white) !important;
}

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

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

/* Links */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-speed);
}

a:hover {
  color: var(--secondary-dark);
}

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

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

/* Background Utilities */
.bg-primary {
  background: var(--primary-color) !important;
}

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

.bg-light {
  background: var(--light-gray) !important;
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
}

footer h6 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all var(--transition-speed);
  display: inline-block;
}

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

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

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

footer .text-center {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Social Icons */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-pinterest {
  font-size: 1.5rem;
  color: var(--white) !important;
  transition: all var(--transition-speed);
  display: inline-block;
}

.bi-facebook:hover {
  color: #3b5998 !important;
  transform: scale(1.2);
}

.bi-instagram:hover {
  color: #e4405f !important;
  transform: scale(1.2);
}

.bi-twitter:hover {
  color: #1da1f2 !important;
  transform: scale(1.2);
}

.bi-linkedin:hover {
  color: #0077b5 !important;
  transform: scale(1.2);
}

.bi-pinterest:hover {
  color: #bd081c !important;
  transform: scale(1.2);
}

/* Responsive Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Object Fit */
.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-speed);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
}

.stats-section h2,
.stats-section h3,
.stats-section h4 {
  color: var(--white) !important;
}

.stats-section .display-4 {
  color: var(--secondary-color) !important;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: 2rem;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

.bi-star-fill {
  color: var(--secondary-color);
}

/* Position Utilities */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
  top: 72px;
  z-index: 100;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.start-0 {
  left: 0;
}

.end-0 {
  right: 0;
}

.start-50 {
  left: 50%;
}

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

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

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

.d-inline-flex {
  display: inline-flex;
}

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

.flex-row {
  flex-direction: row;
}

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

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

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

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

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

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

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

.flex-grow-1 {
  flex-grow: 1;
}

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

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

/* Gap Utilities */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .carousel {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .carousel-caption .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2.5rem !important;
  }
  
  .display-5 {
    font-size: 2rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 767.98px) {
  .hero-slideshow {
    margin-top: 56px;
  }
  
  .carousel {
    height: 60vh;
    min-height: 400px;
  }
  
  .carousel-caption .display-3 {
    font-size: 1.75rem;
  }
  
  .carousel-caption .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .hexagon-container {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-3 {
    font-size: 1.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .carousel-caption {
    padding: 0.5rem;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .filter-btn {
    width: 100%;
    margin: 0.25rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .scroll-to-top,
  .btn {
    display: none !important;
  }
  
  body {
    color: #000;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* 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: 0;
}

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

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: var(--white);
}

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