/* Architectural Studio - Charcoal Ember Theme */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-charcoal: #1a1a1a;
  --light-gray: #f8f9fa;
  --ember-glow: #ff9447;
  --text-dark: #333333;
  --text-light: #ffffff;
  --transition-speed: 0.4s;
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

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

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

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

.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='%23E67E22' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

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

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

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(230,126,34,0.1)"/></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
}

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

.hero-section .object-fit-cover {
  object-fit: cover;
  opacity: 0.2;
}

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

.display-1 {
  font-size: clamp(2.5rem, 8vw, 6rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

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

.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 300;
  animation: fadeInUp 1.2s ease;
}

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

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all var(--transition-speed) ease !important;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent !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 {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

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

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

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

.btn-primary:hover {
  background: var(--ember-glow) !important;
  border-color: var(--ember-glow) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4) !important;
  color: var(--text-light) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  background: transparent !important;
}

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

.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(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4) !important;
}

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

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4) !important;
}

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

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

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

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

/* Section Styles */
section {
  padding: 6rem 0;
  position: relative;
}

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

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

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

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

.pt-4 {
  padding-top: 1.5rem !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;
}

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

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

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

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

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

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

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

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

.mt-2 {
  margin-top: 0.5rem !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-lg-0 {
  margin-bottom: 0 !important;
}

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

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

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

/* Typography */
.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--secondary-color) !important;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: var(--primary-color);
}

.display-3 {
  font-size: clamp(2rem, 5vw, 4rem) !important;
}

.display-4 {
  font-size: clamp(1.8rem, 4vw, 3.5rem) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3vw, 3rem) !important;
}

.display-6 {
  font-size: clamp(1.3rem, 2.5vw, 2.5rem) !important;
}

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

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

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

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

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

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

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

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

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

.text-light {
  color: rgba(255, 255, 255, 0.95) !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;
}

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

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

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

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

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

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

/* Grid System */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

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

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

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

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

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

.col-12,
.col-5,
.col-6,
.col-7,
.col-sm-6,
.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-10 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

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

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

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

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

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

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

.p-0 {
  padding: 0 !important;
}

/* Flex Utilities */
.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !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-between {
  justify-content: space-between !important;
}

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

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

/* Portfolio Section */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
  transition: all var(--transition-speed) ease;
  background: var(--primary-color);
}

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

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

.portfolio-item .position-absolute {
  transition: all var(--transition-speed) ease;
}

.portfolio-item:hover .position-absolute {
  background: rgba(230, 126, 34, 0.95) !important;
}

.hover-icon {
  font-size: 3rem;
  color: var(--text-light) !important;
  transition: all var(--transition-speed) ease;
}

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

.portfolio-item:hover .opacity-0 {
  opacity: 1 !important;
}

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

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

/* Filter Buttons */
.filter-btn {
  padding: 0.6rem 1.5rem !important;
  margin: 0.3rem;
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  transition: all 0.3s ease !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4) !important;
}

/* Service Cards */
.service-card {
  padding: 2.5rem;
  border-radius: 15px;
  background: var(--text-light);
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 40px 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) ease;
}

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

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

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

/* Team Cards */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  background: var(--text-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.6s ease;
}

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

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
  padding: 2rem;
  transform: translateY(60%);
  transition: all var(--transition-speed) ease;
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

/* Certificate Cards */
.cert-card {
  padding: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), #34495e);
  color: var(--text-light) !important;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

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

/* Accordion */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  font-size: 1.1rem !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.accordion-button:not(.collapsed) {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  box-shadow: none !important;
}

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

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

.accordion-collapse {
  border: none !important;
}

.accordion-body {
  padding: 1.5rem !important;
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
  border-top: 2px solid var(--secondary-color);
}

.show {
  display: block !important;
}

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

/* Forms */
.card {
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.card.border-0 {
  border: none !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 2.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.8rem 1.2rem !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
  color: var(--text-dark) !important;
  background: var(--text-light) !important;
}

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

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

.form-check {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  border: 2px solid var(--primary-color) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
  color: var(--text-dark) !important;
  font-weight: 500;
}

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

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

.bi-arrow-right,
.bi-arrow-down-circle-fill,
.bi-plus-circle,
.bi-check-circle-fill {
  transition: all 0.3s ease;
}

.btn:hover .bi-arrow-right {
  transform: translateX(5px);
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.list-unstyled a {
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

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

/* Modal */
.modal {
  z-index: 1055;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

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

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

/* Order Utilities */
.order-lg-1 {
  order: 1;
}

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

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

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

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

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .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-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .order-lg-1 {
    order: 0;
  }
  
  .order-lg-2 {
    order: 0;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .portfolio-item {
    height: 250px;
    margin-bottom: 1rem;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
  }
  
  .btn-lg {
    width: 100%;
  }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--ember-glow);
}

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

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

/* Focus Visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
}