/* Stone & Ember Architecture Studio Theme */

/* ========================================
   ROOT VARIABLES & RESETS
   ======================================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-bg: #1a252f;
  --light-bg: #f8f9fa;
  --stone-gray: #95a5a6;
  --ember-light: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 10px 40px rgba(44, 62, 80, 0.1);
  --shadow-hover: 0 20px 60px rgba(44, 62, 80, 0.2);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
  color: var(--text-dark) !important;
}

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

.text-white, .text-white * {
  color: #ffffff !important;
}

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

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

.lh-lg {
  line-height: 2 !important;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top {
  background-color: rgba(44, 62, 80, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-dark .navbar-brand {
  font-size: 1.5rem;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.navbar-dark .navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(230, 126, 34, 0.1);
  border-radius: 5px;
}

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !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='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

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

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

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

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

.btn-secondary:hover,
.btn.bg-secondary:hover {
  background-color: var(--dark-bg) !important;
  border-color: var(--dark-bg) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4) !important;
}

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

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

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

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

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

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

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

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 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-image: 
    repeating-linear-gradient(90deg, rgba(230, 126, 34, 0.03) 0px, transparent 1px, transparent 40px, rgba(230, 126, 34, 0.03) 41px),
    repeating-linear-gradient(0deg, rgba(230, 126, 34, 0.03) 0px, transparent 1px, transparent 40px, rgba(230, 126, 34, 0.03) 41px);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

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

.hero-section .display-2 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

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

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

/* ========================================
   PARALLAX SECTION
   ======================================== */
.parallax-section {
  position: relative;
  min-height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.parallax-overlay {
  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%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-content {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.parallax-content .display-3 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   DIAGONAL SECTION
   ======================================== */
.diagonal-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background-color: var(--primary-color);
  transform: skewY(-2deg);
  transform-origin: top left;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  border: none !important;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  background-color: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover) !important;
}

.card-body {
  padding: 2rem;
}

.card-img-top {
  transition: var(--transition-smooth);
  height: 250px;
  object-fit: cover;
}

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

.shadow-sm {
  box-shadow: var(--shadow-soft) !important;
}

.shadow-lg {
  box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15) !important;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-item {
  margin-bottom: 30px;
  cursor: pointer;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 350px;
  background-color: var(--primary-color);
}

.portfolio-card 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(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(230, 126, 34, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
}

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

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

.portfolio-overlay h3,
.portfolio-overlay p {
  color: #ffffff !important;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

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

/* ========================================
   FILTER BUTTONS
   ======================================== */
.filter-btn {
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--stone-gray) !important;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 500;
}

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

/* ========================================
   STONE & MATERIAL CARDS
   ======================================== */
.stone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.stone-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.stone-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.stone-card-content {
  padding: 1.5rem;
  background: linear-gradient(to bottom, transparent 0%, rgba(44, 62, 80, 0.05) 100%);
}

.material-card {
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition-smooth);
}

.material-card:hover {
  border-left-width: 8px;
  padding-left: calc(1.5rem - 4px);
}

/* ========================================
   STAT CARDS
   ======================================== */
.stat-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #ffffff;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

.stat-card h3,
.stat-card p {
  color: #ffffff !important;
  position: relative;
  z-index: 2;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px var(--secondary-color);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 16px;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: var(--stone-gray);
}

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

/* ========================================
   FLOATING QUOTE
   ======================================== */
.floating-quote {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--ember-light) 100%);
  color: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow-hover);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.floating-quote p,
.floating-quote h4,
.floating-quote h5 {
  color: #ffffff !important;
}

/* ========================================
   FORMS
   ======================================== */
.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--stone-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
  background-color: #ffffff;
  color: var(--text-dark);
}

.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-color: #ffffff;
  color: var(--text-dark);
}

.form-control::placeholder {
  color: var(--stone-gray);
}

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

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

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

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

.needs-validation .invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.input-group {
  box-shadow: var(--shadow-soft);
  border-radius: 8px;
  overflow: hidden;
}

.input-group .form-control {
  border-radius: 0;
}

.input-group .btn {
  border-radius: 0;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.badge.bg-success {
  background-color: #27ae60 !important;
  color: #ffffff !important;
}

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

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

/* ========================================
   MODAL
   ======================================== */
.modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
  background-color: #ffffff;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  background-color: var(--light-bg);
}

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

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-send,
.bi-car-front-fill,
.bi-bus-front-fill,
.bi-bicycle-fill,
.bi-geo-alt,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-search,
.bi-clipboard-check,
.bi-thermometer-half,
.bi-file-earmark-pdf {
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

.text-white .bi,
.btn .bi,
.navbar-dark .bi {
  color: #ffffff !important;
}

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

/* ========================================
   RATIO & IMAGES
   ======================================== */
.ratio {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.ratio-16x9::before {
  padding-top: 56.25%;
}

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

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

/* ========================================
   BACKGROUNDS
   ======================================== */
.bg-light {
  background-color: var(--light-bg) !important;
}

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

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

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

.bg-success {
  background-color: #27ae60 !important;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

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

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

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

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

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

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

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

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

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

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

.g-2 {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

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

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

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

/* ========================================
   SPACING UTILITIES
   ======================================== */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

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

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

.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }

.m-0 { margin: 0 !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; }
.mb-md-0 { margin-bottom: 0 !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; }

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

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }

/* ========================================
   LIST STYLES
   ======================================== */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.list-unstyled li:last-child {
  border-bottom: none;
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-decoration-none {
  text-decoration: none !important;
}

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

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

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

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

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

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

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

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }

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

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    width: 100%;
  }

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

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

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

  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .parallax-section {
    background-attachment: scroll;
    min-height: 400px;
  }

  .floating-quote {
    padding: 2rem;
  }

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

  .portfolio-card {
    height: 280px;
  }

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

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

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

  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-10 {
    width: 100%;
  }

  .offset-lg-1 {
    margin-left: 0;
  }

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

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

  .lead {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .floating-quote {
    padding: 1.5rem;
  }

  .floating-quote::before {
    font-size: 80px;
    top: -10px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .col-md-4,
  .col-md-6,
  .col-md-8 {
    width: 100%;
  }

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

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

  .col-6 {
    width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

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

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .flex-wrap.gap-3 .btn {
    width: 100%;
  }

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

  .portfolio-card {
    height: 220px;
  }

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

  .col-4 {
    width: 100% !important;
  }

  .col-12 {
    width: 100% !important;
  }
}

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

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

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

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

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

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

.animate-bounceIn {
  animation: bounceIn 0.8s ease-out;
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
::-webkit-scrollbar {
  width: 12px;
}

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

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

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

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

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

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .btn,
  .modal,
  .filter-btn {
    display: none !important;
  }

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

  .card {
    page-break-inside: avoid;
  }
}