/* Architectural Studio - Charcoal Slate Theme CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2D3748;
  --secondary-color: #4A5568;
  --accent-color: #E2E8F0;
  --light-bg: #F7FAFC;
  --dark-text: #1A202C;
  --border-color: #CBD5E0;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 8px rgba(45, 55, 72, 0.1);
  --shadow-md: 0 4px 16px rgba(45, 55, 72, 0.15);
  --shadow-lg: 0 8px 32px rgba(45, 55, 72, 0.2);
}

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

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

html {
  scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  letter-spacing: -0.02em;
}

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

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

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

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

.h4, .h5 {
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 400;
  color: var(--secondary-color) !important;
}

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

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

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

.text-danger {
  color: #E53E3E !important;
}

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

/* ===== NAVBAR ===== */
.navbar {
  background-color: transparent !important;
  transition: all var(--transition-speed) ease;
  padding: 1.5rem 0;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: rgba(45, 55, 72, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  transition: transform var(--transition-speed) ease;
}

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

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

.navbar-toggler {
  border: none !important;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: 2px solid rgba(255, 255, 255, 0.3);
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

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

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

.hero-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(74, 85, 104, 0.8) 100%);
}

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

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

.hero-section .fs-3,
.hero-section .fs-5 {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease-out;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  transition: all var(--transition-speed) ease;
  border: none !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-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

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

.btn-light {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.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;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-light.active,
.btn-light:active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 2rem;
}

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

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ===== PORTFOLIO ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
  height: 350px;
}

.portfolio-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(45, 55, 72, 0.95) 0%, rgba(45, 55, 72, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

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

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

.portfolio-overlay h4,
.portfolio-overlay p {
  color: #ffffff !important;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  transition-delay: 0.1s;
}

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

.filter-btn {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
  border: 2px solid var(--border-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.5rem;
  border-radius: 50px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 0 3rem;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid var(--border-color) !important;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem !important;
  font-size: 1rem;
  color: var(--dark-text) !important;
  background-color: #ffffff !important;
  transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(45, 55, 72, 0.15) !important;
  background-color: #ffffff !important;
  color: var(--dark-text) !important;
}

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

.form-check-input {
  border: 2px solid var(--border-color) !important;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

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

.form-check-label {
  color: var(--secondary-color) !important;
  cursor: pointer;
  margin-left: 0.5rem;
}

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

.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 0.75rem !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

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

.accordion-button {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
}

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

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(21%) sepia(13%) saturate(1066%) hue-rotate(175deg) brightness(94%) contrast(89%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.accordion-body {
  padding: 1.5rem !important;
  color: var(--secondary-color) !important;
  line-height: 1.7;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(45, 55, 72, 0.15) !important;
}

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

.bg-success {
  background-color: #48BB78 !important;
}

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

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

.bi-people-fill,
.bi-building,
.bi-award-fill,
.bi-tree-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-arrow-right,
.bi-clock,
.bi-calendar-check,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-bicycle-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-clipboard-data,
.bi-gear,
.bi-shield-check,
.bi-share,
.bi-cookie,
.bi-clock-history,
.bi-person-check,
.bi-globe,
.bi-people,
.bi-arrow-repeat,
.bi-envelope-open,
.bi-envelope,
.bi-telephone,
.bi-geo-alt,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-recycle,
.bi-sun-fill,
.bi-wind,
.bi-buildings-fill,
.bi-hammer,
.bi-moisture,
.bi-thermometer-half,
.bi-house-heart-fill,
.bi-heart-pulse-fill,
.bi-tree,
.bi-bricks {
  font-size: 1.5rem;
}

/* ===== SHADOWS ===== */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

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

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

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

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

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

.opacity-50 {
  opacity: 0.5 !important;
}

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

.border-light {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

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

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

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

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

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

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

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

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

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

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

.img-fluid {
  max-width: 100%;
  height: auto;
}

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

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

.list-unstyled {
  padding-left: 0 !important;
  list-style: none !important;
}

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

/* ===== SPACING ADJUSTMENTS ===== */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

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

.mt-auto {
  margin-top: auto !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@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 pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

/* ===== GRID SYSTEM ADJUSTMENTS ===== */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

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

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

.g-3 > * {
  padding: 1rem !important;
}

.g-4 > * {
  padding: 1.5rem !important;
}

.g-5 > * {
  padding: 3rem !important;
}

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

/* ===== FOOTER ===== */
footer {
  background-color: var(--primary-color) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-top: 5rem;
}

footer h4,
footer h5 {
  color: #ffffff !important;
  font-weight: 600 !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

footer a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

footer .list-unstyled a {
  display: inline-block;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
  .pe-lg-5 {
    padding-right: 1rem !important;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(45, 55, 72, 0.98);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 2rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .text-lg-end,
  .text-lg-start {
    text-align: center !important;
  }
  
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10 {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .d-md-block {
    display: none !important;
  }
  
  .col-md-4,
  .col-md-6,
  .col-md-8 {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .mt-md-0 {
    margin-top: 0 !important;
  }
  
  .p-md-5 {
    padding: 2rem !important;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.9rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .col-sm-6 {
    width: 100%;
  }
  
  .px-4,
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .filter-btn {
    padding: 0.4rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  .portfolio-item {
    height: 200px;
    margin-bottom: 1rem;
  }
}

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

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

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

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

/* ===== SELECTION STYLING ===== */
::selection {
  background-color: var(--primary-color);
  color: #ffffff;
}

::-moz-selection {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== LINK HOVER EFFECTS ===== */
a {
  color: var(--primary-color) !important;
  transition: all var(--transition-speed) ease;
}

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

/* ===== ADDITIONAL UTILITY CLASSES ===== */
.d-inline-block {
  display: inline-block !important;
}

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

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

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

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

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

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

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

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

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

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

.justify-content-end {
  justify-content: flex-end !important;
}

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

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

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

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

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

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

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

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

/* ===== LOADING ANIMATION ===== */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  
  .card,
  .portfolio-item {
    break-inside: avoid;
  }
}