/* Architectural Studio - Midnight Steel & Copper Theme */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark: #1a252f;
  --light: #ecf0f1;
  --copper-light: #f39c12;
  --steel-gray: #34495e;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.display-1 {
  font-size: clamp(2.5rem, 8vw, 6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -2px !important;
}

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

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

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

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

.lead {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  font-weight: 400 !important;
}

.fs-3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
}

.fs-4 {
  font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
}

.fs-5 {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
}

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

.navbar.scrolled {
  padding: 0.5rem 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 0.98) 100%) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--text-light) !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

.navbar-dark .navbar-toggler {
  border-color: 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 {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

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

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

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

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

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23E67E22" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(26, 37, 47, 0.85) 100%);
  z-index: 1;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: heroSlideAnimation 20s infinite;
  opacity: 0;
}

@keyframes heroSlideAnimation {
  0%, 100% { opacity: 0; transform: scale(1); }
  5%, 25% { opacity: 0.3; transform: scale(1.05); }
  30%, 70% { opacity: 0.3; transform: scale(1.1); }
  75%, 95% { opacity: 0; transform: scale(1.05); }
}

.hero-section .text-center {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  padding: 2rem;
}

.hero-section .text-white {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-section .display-1 {
  animation: fadeInUp 1s ease-out;
  color: var(--text-light) !important;
}

.hero-section .lead {
  animation: fadeInUp 1.2s ease-out;
  color: rgba(255, 255, 255, 0.95) !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
  border-width: 2px !important;
}

.btn-lg {
  font-size: 1rem !important;
  padding: 1rem 2.5rem !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-outline-light {
  color: var(--text-light) !important;
  border-color: var(--text-light) !important;
  background: transparent !important;
}

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

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

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

.btn-outline-secondary {
  color: var(--secondary-color) !important;
  border-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: var(--text-light) !important;
  transform: translateY(-2px);
}

.btn-light {
  background: var(--light) !important;
  color: var(--primary-color) !important;
  border-color: var(--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.3) !important;
}

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

.filter-btn {
  margin: 0.25rem;
  border-radius: 25px !important;
}

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

.scroll-indicator .small {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

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

/* Section Styles */
section {
  position: relative;
}

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

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

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

/* Container */
.container,
.container-fluid {
  position: relative;
}

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

/* Cards */
.card {
  border: none !important;
  border-radius: 0 !important;
  transition: all 0.4s ease !important;
  overflow: hidden;
  background: #ffffff !important;
}

.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

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

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

.card-text {
  color: var(--steel-gray) !important;
  line-height: 1.8 !important;
}

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

/* Project Items */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  transition: all 0.4s ease;
  cursor: pointer;
  height: 100%;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(230, 126, 34, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-item:hover::before {
  opacity: 1;
}

.project-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

.project-item img {
  transition: transform 0.6s ease;
}

.project-item:hover img {
  transform: scale(1.15);
}

.project-item .card-body {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  z-index: 2;
  transition: bottom 0.4s ease;
  background: transparent !important;
}

.project-item:hover .card-body {
  bottom: 0;
}

.project-item .card-title,
.project-item .card-text {
  color: var(--text-light) !important;
}

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.object-fit-cover {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

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

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

/* Shadows */
.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

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

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

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

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

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

.text-muted {
  color: #7f8c8d !important;
}

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

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 1px;
}

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

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

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

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

/* Borders */
.border-0 {
  border: none !important;
}

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

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

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

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

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

.form-control,
.form-select {
  border: 2px solid #dce0e3 !important;
  border-radius: 0 !important;
  padding: 0.875rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #ffffff !important;
  color: var(--text-dark) !important;
}

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

.form-control::placeholder {
  color: #95a5a6 !important;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Accordion */
.accordion {
  border: none !important;
}

.accordion-item {
  border: none !important;
  margin-bottom: 1rem !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

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

.accordion-button {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem !important;
}

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

.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

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

.accordion-button.collapsed {
  background: var(--primary-color) !important;
}

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

.accordion-body {
  padding: 1.5rem !important;
  background: #ffffff !important;
  color: var(--steel-gray) !important;
  line-height: 1.8;
}

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

.bi-telephone-fill::before,
.bi-envelope-fill::before,
.bi-geo-alt-fill::before,
.bi-geo-alt::before,
.bi-telephone::before,
.bi-envelope::before,
.bi-arrow-right::before,
.bi-arrow-right-circle-fill::before,
.bi-check-circle-fill::before,
.bi-sun-fill::before,
.bi-droplet-fill::before,
.bi-tree-fill::before,
.bi-award-fill::before {
  color: var(--secondary-color) !important;
}

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

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

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

.list-unstyled a {
  color: var(--steel-gray) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block;
}

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

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

footer h4,
footer h5 {
  color: var(--text-light) !important;
  margin-bottom: 1.5rem !important;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.75) !important;
}

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

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
  margin-top: 3rem;
  padding-top: 2rem;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--steel-gray) !important;
  margin: 2rem 0;
}

.blockquote-footer {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  margin-top: 1rem;
}

.blockquote-footer::before {
  content: '— ';
}

/* Opacity Utilities */
.opacity-25 {
  opacity: 0.25 !important;
}

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

/* Spacing Utilities */
.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-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;
}

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

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

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

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

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

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

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

.mt-3 {
  margin-top: 1rem !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-4 {
  margin-bottom: 1.5rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.flex-fill {
  flex: 1 1 auto !important;
}

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

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

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

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

.justify-content-end {
  justify-content: flex-end !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;
}

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

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

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

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

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

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

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

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

.end-0 {
  right: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

/* Responsive Grid */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .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%;
  }
  
  .order-md-1 {
    order: 1 !important;
  }
  
  .order-md-2 {
    order: 2 !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .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%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-4 {
    padding-right: 1.5rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 0.98) 100%);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
  
  .order-1 {
    order: 1 !important;
  }
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.9rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .scroll-indicator,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
}