/* Midnight Ember Architecture Studio Theme */
/* Primary Color: #2C3E50, Secondary Color: #E67E22 */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-bg: #1a252f;
  --light-text: #ecf0f1;
  --accent-glow: rgba(230, 126, 34, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  border-bottom: 2px solid var(--secondary-color);
  z-index: 1000;
}

.navbar.shadow-sm {
  box-shadow: 0 4px 20px rgba(230, 126, 34, 0.2) !important;
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

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

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

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

.nav-link {
  color: var(--light-text) !important;
  font-weight: 500 !important;
  padding: 0.7rem 1.2rem !important;
  margin: 0 0.2rem;
  position: relative;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

.nav-link:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(230, 126, 34, 0.15) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary-color), transparent);
  top: 10%;
  left: 10%;
  opacity: 0.2;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f39c12, transparent);
  bottom: 10%;
  right: 10%;
  opacity: 0.15;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: 0 0 30px rgba(230, 126, 34, 0.5);
  animation: fadeInUp 1s ease-out;
  letter-spacing: -1px;
}

.display-3 {
  font-size: clamp(2rem, 6vw, 3.5rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.display-4 {
  font-size: clamp(1.8rem, 5vw, 3rem) !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-weight: 600 !important;
}

.display-6 {
  font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 1s ease-out 0.3s both;
}

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

/* Buttons */
.btn {
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth) !important;
  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;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #d35400) !important;
  border-color: var(--secondary-color) !important;
  color: #fff !important;
  box-shadow: 0 5px 25px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d35400, var(--secondary-color)) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.6) !important;
  color: #fff !important;
}

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

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

.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: #fff !important;
  transform: translateY(-3px) !important;
}

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

.btn-light:hover {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
  transform: translateY(-3px) !important;
}

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

.btn-secondary:hover {
  background: #d35400 !important;
  border-color: #d35400 !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
}

/* About Section */
.py-5 {
  padding: 4rem 0 !important;
}

.hero-about {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.lead {
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  color: #555 !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

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

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

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Portfolio Section */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%) !important;
}

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

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

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

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--light-text) !important;
  padding: 0.6rem 1.8rem !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 350px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.7) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
}

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

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

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.3);
}

.badge {
  background: var(--secondary-color) !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.h4, .h5 {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 2rem 0;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(230, 126, 34, 0.6); }
  50% { box-shadow: 0 0 30px rgba(230, 126, 34, 1); }
}

.timeline-content {
  width: 45%;
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.2);
}

/* Philosophy Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(230, 126, 34, 0.3);
  border-radius: 15px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.1), transparent);
  transition: var(--transition-smooth);
  transform: scale(0);
}

.philosophy-card:hover::before {
  transform: scale(1);
}

.philosophy-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

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

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

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

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

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

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-member:hover .team-photo {
  transform: scale(1.1);
}

.team-info {
  padding: 2rem;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.team-bio {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Card Styles */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: #666 !important;
  line-height: 1.7 !important;
}

/* Accordion Styles */
.accordion-item {
  background: #fff !important;
  border: none !important;
  margin-bottom: 1rem !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-bg)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  font-size: 1.1rem !important;
  border: none !important;
  transition: var(--transition-smooth) !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--secondary-color), #d35400) !important;
  color: #fff !important;
  box-shadow: none !important;
}

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

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

.accordion-body {
  padding: 2rem !important;
  background: #fff !important;
  color: #555 !important;
  line-height: 1.8 !important;
  border-top: 3px solid var(--secondary-color);
}

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

/* Form Styles */
.form-label {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem !important;
  font-size: 1rem !important;
}

.form-control {
  border: 2px solid #ddd !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  transition: var(--transition-smooth) !important;
  font-size: 1rem !important;
  background: #fff !important;
  color: var(--primary-color) !important;
}

.form-control:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
  background: #fff !important;
}

.form-select {
  border: 2px solid #ddd !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  transition: var(--transition-smooth) !important;
  background: #fff !important;
  color: var(--primary-color) !important;
}

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

.form-check-input {
  width: 1.5rem !important;
  height: 1.5rem !important;
  border: 2px solid #ddd !important;
  cursor: pointer;
}

.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.2rem rgba(230, 126, 34, 0.25) !important;
}

.form-check-label {
  color: #555 !important;
  margin-left: 0.5rem;
  cursor: pointer;
}

.text-danger {
  color: #dc3545 !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem !important;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0d1418 100%);
  color: var(--light-text);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), #f39c12, var(--secondary-color));
}

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

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

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  display: inline-block;
}

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

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

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

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

/* Social Icons */
.bi, .fab, .fa-instagram, .fa-linkedin, .fa-facebook, .fa-pinterest {
  transition: var(--transition-smooth);
}

.bi-linkedin:hover,
.bi-instagram:hover,
.bi-facebook:hover,
.fa-linkedin:hover,
.fa-instagram:hover,
.fa-facebook:hover,
.fa-pinterest:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.2) rotate(5deg);
}

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

/* Utility Classes */
.text-center {
  text-align: center !important;
}

.text-white {
  color: #fff !important;
}

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

.text-uppercase {
  text-transform: uppercase !important;
}

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

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

.border-start {
  border-left: 3px solid var(--secondary-color) !important;
}

.border-3 {
  border-width: 3px !important;
}

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

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

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

.overflow-hidden {
  overflow: hidden !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.g-0 {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.g-3 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

.g-4 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

.g-5 {
  --bs-gutter-x: 3rem !important;
  --bs-gutter-y: 3rem !important;
}

/* Responsive Spacing */
.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; }
.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-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.m-3 { margin: 1rem !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; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-lg-0 { margin-top: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.ms-4 { margin-left: 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; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
    background: rgba(26, 37, 47, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
  }

  .nav-link {
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link::before {
    display: none;
  }

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

  .hero-section {
    min-height: 80vh;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
    transform: translateX(0);
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

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

  .philosophy-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .pe-lg-5,
  .ps-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2rem !important;
  }

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

  .btn-lg {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.9rem !important;
    margin-bottom: 1rem;
  }

  .portfolio-item {
    height: 280px;
  }

  .card-body {
    padding: 1.5rem;
  }

  .accordion-button,
  .accordion-body {
    padding: 1rem !important;
  }

  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }

  .order-lg-1,
  .order-lg-2 {
    order: 0 !important;
  }
}

@media (max-width: 575px) {
  .hero-section {
    min-height: 70vh;
  }

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

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

  .btn {
    width: 100%;
    margin: 0.5rem 0 !important;
  }

  .portfolio-item {
    height: 250px;
  }

  .team-photo {
    height: 250px;
  }

  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Animations */
@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 fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

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

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

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

::-webkit-scrollbar-thumb:hover {
  background: #d35400;
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  animation: shimmer 2s infinite;
  background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
  background-size: 1000px 100%;
}

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

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(230, 126, 34, 0.5) !important;
  outline-offset: 2px;
}

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

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
}