/* Architectural Studio - Charcoal Amber Theme */

/* ===== CSS Variables & Root ===== */
:root {
  --primary-color: #263238;
  --secondary-color: #FF6F00;
  --accent-color: #FFA726;
  --dark-charcoal: #1a1f23;
  --light-gray: #f5f5f5;
  --text-dark: #263238;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

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

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

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

.h2,
.h3,
.h4,
.h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.navbar.fixed-top {
  z-index: 1030;
}

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

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 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='%23FF6F00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
}

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

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

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

/* ===== Hero Slideshow ===== */
.hero-slideshow {
  margin-top: 76px;
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel {
  height: 100%;
}

.carousel.slide,
.carousel-fade {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a1f23 100%);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(38, 50, 56, 0.8) 0%, rgba(38, 50, 56, 0.4) 100%);
  z-index: 1;
}

.carousel-item.active {
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-item .d-block {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  padding: 2rem;
}

.carousel-caption .display-2 {
  color: var(--text-light) !important;
  font-size: 4rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-caption .lead {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.carousel-caption .fs-3 {
  font-size: 1.75rem !important;
}

@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: 0.5px;
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
  border: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary,
.btn {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover,
.btn:hover {
  background-color: #e66400 !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

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

.btn-light:hover {
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
}

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

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

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

/* ===== Carousel Controls ===== */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 0.75rem;
}

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

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

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

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

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

.bg-danger {
  background-color: rgba(255, 111, 0, 0.1) !important;
}

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

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

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

.text-muted {
  color: #6c757d !important;
}

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

.text-success {
  color: #28a745 !important;
}

/* ===== Grid & Layout ===== */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

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

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

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

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

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

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

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

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

.pb-4 {
  padding-bottom: 1.5rem !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-2 {
  margin-top: 0.5rem !important;
}

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

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

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

.mt-lg-0 {
  margin-top: 0 !important;
}

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

.me-3 {
  margin-right: 1rem !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;
}

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

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

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

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

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

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

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

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

/* ===== Cards ===== */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  border-radius: 0;
  transition: all 0.5s ease;
}

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

.card-body {
  padding: 1.5rem;
}

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

.card-text {
  color: #6c757d;
  line-height: 1.6;
}

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

/* ===== Portfolio Styles ===== */
.portfolio-item {
  margin-bottom: 2rem;
  transition: all var(--transition-speed) ease;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(38, 50, 56, 0.9) 0%, rgba(255, 111, 0, 0.8) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

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

/* ===== Team Member Card ===== */
.team-member-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

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

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(38, 50, 56, 0.95), transparent);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(60%);
  transition: all 0.4s ease;
}

.team-member-card:hover .team-overlay {
  transform: translateY(0);
}

/* ===== Badge ===== */
.badge {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
}

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

.bi-lightbulb,
.bi-tree,
.bi-people,
.bi-check-circle-fill,
.bi-geo-alt-fill,
.bi-geo-alt,
.bi-telephone-fill,
.bi-telephone,
.bi-envelope-fill,
.bi-arrow-right,
.bi-chat-dots-fill,
.bi-calendar-check-fill,
.bi-share-fill,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-arrow-clockwise,
.bi-droplet-fill,
.bi-lightning-charge-fill,
.bi-tree-fill,
.bi-recycle,
.bi-sun-fill,
.bi-shield-check,
.bi-moisture,
.bi-diagram-3,
.bi-arrow-repeat,
.bi-graph-up {
  color: var(--secondary-color);
  font-size: 2rem;
  transition: all var(--transition-speed) ease;
}

.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

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

/* ===== Counter Stats ===== */
.counter-stat {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.counter-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.counter-stat .display-3 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #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.25rem rgba(255, 111, 0, 0.25) !important;
  outline: none;
}

.form-check {
  padding-left: 1.75rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

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

.form-check-input:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.25) !important;
}

.form-check-label {
  cursor: pointer;
  color: var(--text-dark);
}

/* ===== Contact Box ===== */
.contact-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
  border-radius: 8px;
  padding: 2rem;
  color: var(--text-light);
  box-shadow: var(--box-shadow-lg);
  transition: all var(--transition-speed) ease;
}

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

.contact-box .h4,
.contact-box .h5 {
  color: var(--text-light) !important;
}

.contact-box a {
  color: var(--secondary-color) !important;
}

.contact-box a:hover {
  color: var(--accent-color) !important;
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

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

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Privacy Policy Styles ===== */
.privacy-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
  padding: 6rem 0 4rem;
  margin-top: 76px;
  color: var(--text-light);
}

.tagline {
  color: var(--secondary-color) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.last-updated {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.privacy-content {
  padding: 4rem 0;
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #495057;
}

.policy-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.policy-section:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 2px solid var(--light-gray);
  transition: all var(--transition-speed) ease;
  position: relative;
}

.section-header:hover {
  color: var(--secondary-color);
}

.section-header.collapsed {
  border-bottom: none;
}

.toggle-icon {
  float: right;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.section-header.collapsed .toggle-icon {
  transform: rotate(180deg);
}

.section-content {
  padding-top: 1.5rem;
  line-height: 1.8;
  color: #495057;
}

/* ===== Filter Buttons ===== */
.filter-btn {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

/* ===== Progress Bar ===== */
.progress {
  height: 1.5rem;
  border-radius: 8px;
  background-color: #e9ecef;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
}

/* ===== Utility Classes ===== */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.small {
  font-size: 0.875rem;
}

/* ===== Grid System ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

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

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

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

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

.col-md-4 {
  flex: 0 0 auto;
  width: 33.333333%;
}

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

.col-md-10 {
  flex: 0 0 auto;
  width: 83.333333%;
}

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

.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-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-lg-10 {
  flex: 0 0 auto;
  width: 83.333333%;
}

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

.offset-lg-2 {
  margin-left: 16.666667%;
}

.offset-lg-3 {
  margin-left: 25%;
}

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

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

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

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

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

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

  .carousel-caption .display-2 {
    font-size: 2.5rem;
  }

  .carousel-caption .lead {
    font-size: 1.125rem;
  }

  .hero-slideshow {
    height: 70vh;
    min-height: 500px;
  }

  section {
    padding: 3rem 0;
  }

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

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

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

  .offset-lg-2,
  .offset-lg-3 {
    margin-left: 0;
  }

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

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

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

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

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

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

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

  .carousel-caption .lead {
    font-size: 1rem;
  }

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

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

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

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

  .display-5 {
    font-size: 1.5rem !important;
  }

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

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

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

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

  .col-sm-6 {
    width: 100%;
  }

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

  .contact-box {
    margin-bottom: 2rem;
  }

  .hero-slideshow {
    height: 60vh;
    min-height: 450px;
  }

  section {
    padding: 2rem 0;
  }
}

@media (max-width: 575.98px) {
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

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

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

  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption .display-2 {
    font-size: 1.5rem;
  }

  .carousel-caption .lead {
    font-size: 0.875rem;
  }

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

  .col-6 {
    width: 100%;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 0.875rem;
  }
}

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  footer {
    display: none !important;
  }

  body {
    background-color: white;
    color: black;
  }

  .hero-slideshow {
    margin-top: 0;
  }
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

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

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

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

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

/* ===== Selection ===== */
::selection {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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