/* Midnight Copper Architecture Studio - CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --copper-light: #F39C12;
  --copper-dark: #D35400;
  --midnight: #1a252f;
  --midnight-light: #34495E;
  --text-light: #ECF0F1;
  --text-dark: #2C3E50;
  --white: #FFFFFF;
  --black: #000000;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* ===== TYPOGRAPHY ===== */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

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

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color) !important;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--midnight) 100%) !important;
  padding: 1rem 0 !important;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 37, 47, 0.98) 100%) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--copper-light));
  transition: var(--transition);
}

.navbar-brand:hover::after {
  width: 100%;
}

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

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

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

.navbar-toggler:hover {
  background-color: rgba(230, 126, 34, 0.1) !important;
  transform: scale(1.05);
}

.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 {
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.2), transparent);
  transition: var(--transition);
}

.nav-link:hover::before {
  left: 100%;
}

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

.nav-link.active {
  font-weight: 600 !important;
  background-color: rgba(230, 126, 34, 0.15) !important;
  border-bottom: 3px solid var(--secondary-color);
}

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

.hero-background {
  z-index: 1;
  opacity: 0.15;
  object-fit: cover;
  filter: grayscale(30%);
}

.geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(230, 126, 34, 0.03) 70%),
    linear-gradient(-45deg, transparent 30%, rgba(230, 126, 34, 0.05) 70%);
  pointer-events: none;
}

.animated-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(230, 126, 34, 0.03) 50px, rgba(230, 126, 34, 0.03) 51px),
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(230, 126, 34, 0.03) 50px, rgba(230, 126, 34, 0.03) 51px);
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

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

.floating-shape {
  position: absolute;
  z-index: 2;
  opacity: 0.1;
  animation: float 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: var(--copper-light);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: var(--secondary-color);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(5deg); }
  50% { transform: translateY(-60px) rotate(-5deg); }
  75% { transform: translateY(-30px) rotate(3deg); }
}

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

.hero-section .display-2 {
  color: var(--white) !important;
  font-size: clamp(2.5rem, 7vw, 4.5rem) !important;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.2 !important;
}

.hero-section .lead {
  color: var(--text-light) !important;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

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

.scroll-indicator {
  z-index: 10;
  animation: bounce 2s infinite;
  color: var(--secondary-color) !important;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--copper-light) !important;
  transform: translateY(5px);
}

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

/* ===== BUTTONS ===== */
.btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.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;
  z-index: -1;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--copper-dark) 100%) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

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

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--midnight) 100%) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--primary-color) 100%) !important;
  border-color: var(--midnight) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 25px rgba(44, 62, 80, 0.4) !important;
  transform: translateY(-3px) !important;
}

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

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

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

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4) !important;
  transform: translateY(-3px) !important;
}

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

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

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

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

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

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

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

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

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

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white);
  border-radius: 16px;
  transition: var(--transition);
  border: 2px solid rgba(44, 62, 80, 0.1);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--copper-light));
  transition: var(--transition);
}

.service-card:hover::before {
  left: 0;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white) !important;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

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

.service-details p {
  color: var(--text-dark) !important;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== PROJECT GRID ===== */
.projects-grid {
  display: grid;
  gap: 2rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(230, 126, 34, 0.2);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-item:hover .project-image-wrapper img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(230, 126, 34, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: var(--transition);
  z-index: 10;
}

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

.project-overlay h4,
.project-overlay .h4 {
  color: var(--white) !important;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-overlay p {
  color: var(--text-light) !important;
  transform: translateY(20px);
  transition: var(--transition) 0.1s;
}

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

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  padding: 0.75rem 2rem !important;
  margin: 0.5rem;
  border-radius: 50px !important;
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-light)) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3) !important;
  transform: translateY(-2px) !important;
}

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

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

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

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

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

.object-fit-cover {
  object-fit: cover !important;
}

/* ===== BADGES ===== */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

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

.badge.bg-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-light)) !important;
  color: var(--white) !important;
}

/* ===== CARDS ===== */
.card {
  border-radius: 16px !important;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid rgba(44, 62, 80, 0.1) !important;
}

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

.card-img-top {
  transition: var(--transition);
}

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

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

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

.card-text {
  color: var(--text-dark) !important;
  line-height: 1.7;
}

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

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

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

.modal-xl {
  max-width: 1140px !important;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.btn-close {
  background-color: var(--white) !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 1050;
}

.btn-close:hover {
  transform: rotate(90deg) scale(1.1);
  background-color: var(--secondary-color) !important;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border-radius: 12px !important;
  border: 2px solid rgba(44, 62, 80, 0.2) !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
  background-color: var(--white) !important;
  color: var(--text-dark) !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-color: var(--white) !important;
  color: var(--text-dark) !important;
}

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

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(44, 62, 80, 0.3) !important;
  border-radius: 6px !important;
  transition: var(--transition);
}

.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.15) !important;
}

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

/* ===== TABLE ===== */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--midnight)) !important;
}

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

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

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

.table tbody td {
  padding: 1rem !important;
  vertical-align: middle;
  color: var(--text-dark) !important;
  border-color: rgba(44, 62, 80, 0.1) !important;
}

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

/* Icon colors */
.bi-zoom-in,
.bi-check-circle-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-house-door,
.bi-building,
.bi-leaf,
.bi-grid-3x3,
.bi-clipboard-check,
.bi-badge-3d,
.bi-award-fill,
.bi-tree-fill,
.bi-lightning-charge-fill,
.bi-globe-americas,
.bi-sun-fill,
.bi-wind,
.bi-water,
.bi-droplet-half,
.bi-tree,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-pinterest,
.bi-arrow-right,
.bi-gear-fill,
.bi-cookie,
.bi-eye-fill,
.bi-pencil-fill,
.bi-trash-fill,
.bi-stop-circle-fill,
.bi-download,
.bi-shield-fill-check,
.bi-shield-lock-fill,
.bi-server,
.bi-person-lock,
.bi-arrow-repeat,
.bi-file-earmark-lock,
.bi-chat-dots {
  color: var(--secondary-color) !important;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.25rem 1.5rem !important;
}

.alert-heading {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark) !important;
}

.list-unstyled a {
  color: var(--text-dark) !important;
  text-decoration: none;
  transition: var(--transition);
}

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

/* ===== NAV TABS ===== */
.nav {
  border-bottom: 2px solid rgba(44, 62, 80, 0.1) !important;
}

.nav .nav-link {
  color: var(--text-dark) !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  padding: 1rem 1.5rem !important;
  transition: var(--transition);
}

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

/* ===== UTILITIES ===== */
.text-muted {
  color: #6c757d !important;
}

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

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

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

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

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

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

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

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

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

.border {
  border: 1px solid rgba(44, 62, 80, 0.1) !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(44, 62, 80, 0.1) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

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

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

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

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

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

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

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

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

.g-0 {
  gap: 0 !important;
}

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

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

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

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

.mt-1 {
  margin-top: 0.25rem !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--midnight) 100%);
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

footer h5,
footer .h5 {
  color: var(--white) !important;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after,
footer .h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--copper-light));
}

footer a {
  color: var(--text-light) !important;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

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

footer .bi {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  transition: var(--transition);
}

footer .bi:hover {
  color: var(--copper-light) !important;
  transform: scale(1.2) rotate(10deg);
}

/* ===== PRIVACY CONTENT ===== */
.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
  color: var(--primary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  color: var(--text-dark) !important;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy-content ul,
.privacy-content ol {
  color: var(--text-dark) !important;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
  .display-2 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding-top: 100px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .d-md-block {
    display: block !important;
  }
  
  .d-none {
    display: none !important;
  }
  
  .flex-md-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .text-md-end {
    text-align: end !important;
  }
  
  .text-md-start {
    text-align: start !important;
  }
  
  .pe-md-5 {
    padding-right: 3rem !important;
  }
  
  .ps-md-5 {
    padding-left: 3rem !important;
  }
  
  .p-md-5 {
    padding: 3rem !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hero-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .modal-body {
    padding: 1rem !important;
  }
  
  footer {
    text-align: center;
  }
  
  footer h5::after,
  footer .h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
}

/* ===== 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);
  }
}

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

/* Scroll animations */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

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

.scale-in {
  animation: scaleIn 0.8s ease-out;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-light));
  border-radius: 10px;
  border: 2px solid var(--white);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--copper-dark), var(--secondary-color));
}

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

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

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 3px;
}

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