/* Forge Red & Iron Black Architecture Studio Theme */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --primary-rgb: 211, 47, 47;
  --secondary-rgb: 33, 33, 33;
  --light-bg: #f8f9fa;
  --dark-bg: #1a1a1a;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--secondary-color);
  overflow-x: hidden;
}

/* Typography */
.display-1, .display-3, .display-4, .display-5 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

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

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

/* Navbar Styles */
.navbar {
  background: rgba(33, 33, 33, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(33, 33, 33, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand {
  color: #ffffff !important;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

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

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

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem;
}

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

/* Button Styles */
.btn {
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  transition: var(--transition) !important;
  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: 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: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  background: #b71c1c !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.4);
}

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

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

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

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

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

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
}

.position-relative.overflow-hidden .position-absolute {
  opacity: 0.3;
  filter: brightness(0.7);
}

.position-relative.overflow-hidden::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.3) 0%, rgba(33, 33, 33, 0.8) 100%);
  z-index: 1;
}

.position-relative.overflow-hidden .container {
  position: relative;
  z-index: 2;
}

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

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.fs-4 {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease-out;
}

.fs-5 {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem) !important;
}

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

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

.animate-bounce {
  animation: bounce 2s infinite;
}

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

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

/* Badge */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Cards */
.card {
  border-radius: 12px !important;
  transition: var(--transition);
  border: none !important;
  overflow: hidden;
}

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

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

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

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

.class-card {
  cursor: pointer;
  background: #ffffff;
}

.class-card:hover {
  border-color: var(--primary-color) !important;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 400px;
}

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

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

.team-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(33, 33, 33, 0.95) 100%);
  transition: var(--transition);
  padding: 2rem;
}

.team-card:hover .team-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(211, 47, 47, 0.95) 100%);
}

.team-certs {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  backdrop-filter: blur(5px);
}

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

.bi-chevron-down,
.bi-fire,
.bi-lightning-charge,
.bi-lightning-charge-fill,
.bi-trophy-fill,
.bi-heart-pulse-fill,
.bi-person-check-fill,
.bi-egg-fried,
.bi-activity,
.bi-star-fill,
.bi-check-circle-fill,
.bi-people-fill,
.bi-award-fill {
  color: var(--primary-color);
}

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

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

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

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

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

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

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

.text-light {
  color: #f8f9fa !important;
}

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

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

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

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

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

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

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

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

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

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

/* Forms */
.form-control,
.form-select {
  border-radius: 8px !important;
  border: 2px solid #e0e0e0 !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition);
  font-size: 1rem !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15) !important;
  outline: none;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.5rem !important;
  font-size: 1.1rem !important;
}

.form-control.bg-dark {
  background-color: rgba(33, 33, 33, 0.5) !important;
  color: #ffffff !important;
  border-color: #424242 !important;
}

.form-control.bg-dark:focus {
  background-color: rgba(33, 33, 33, 0.7) !important;
  color: #ffffff !important;
}

.form-control.bg-dark::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-select.bg-dark {
  background-color: rgba(33, 33, 33, 0.5) !important;
  color: #ffffff !important;
  border-color: #424242 !important;
}

.form-select.bg-dark option {
  background-color: var(--secondary-color);
  color: #ffffff;
}

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

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
}

.form-check-label {
  cursor: pointer;
}

/* Alerts */
.alert {
  border-radius: 8px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
}

.alert-info {
  background-color: rgba(13, 110, 253, 0.1) !important;
  color: #084298 !important;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.15) !important;
  color: #997404 !important;
}

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

.progress-bar {
  background-color: var(--primary-color) !important;
  transition: width 1s ease-in-out;
}

/* Tables */
.table {
  border-radius: 8px;
  overflow: hidden;
}

.table-dark {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

.table-dark thead th {
  border-bottom: 2px solid var(--primary-color) !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.table-dark tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

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

.table-hover tbody tr:hover {
  background-color: rgba(211, 47, 47, 0.1) !important;
}

/* Carousel */
.carousel {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none;
  margin: 0 5px;
}

.carousel-indicators button.active {
  background-color: var(--primary-color) !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.8;
}

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

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Accordion */
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
  border: none !important;
}

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

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

.accordion-body {
  padding: 1.5rem !important;
  background-color: #f8f9fa;
}

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

/* Timeline Section */
.timeline-section {
  position: relative;
}

.timeline-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

/* Filter Buttons */
.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--secondary-color);
  background: transparent;
  color: var(--secondary-color) !important;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Privacy Navigation */
.privacy-nav-link {
  color: var(--secondary-color) !important;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  border-left: 3px solid transparent;
  transition: var(--transition);
  font-weight: 500;
}

.privacy-nav-link:hover,
.privacy-nav-link.active {
  color: var(--primary-color) !important;
  border-left-color: var(--primary-color);
  background: rgba(211, 47, 47, 0.05);
}

.sticky-top {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* Privacy Hero */
.privacy-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
  padding: 6rem 0 4rem;
  position: relative;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="20" height="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h20v20H0z" fill="none"/%3E%3Cpath d="M10 0l10 10-10 10L0 10z" fill="%23D32F2F" opacity="0.05"/%3E%3C/svg%3E');
  opacity: 0.1;
}

/* Step Content */
.step-content {
  border-left: 3px solid var(--primary-color);
  padding-left: 2rem;
  margin-left: 1rem;
}

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

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

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #b71c1c;
  text-decoration: none;
}

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

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

/* Border Utilities */
.border {
  border: 1px solid #dee2e6 !important;
}

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

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

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

/* Spacing Utilities */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.d-grid {
  display: grid !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-middle {
  vertical-align: middle !important;
}

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

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

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

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

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

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

/* Gap Utilities */
.gap-1 {
  gap: 0.25rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsive Typography */
@media (max-width: 991.98px) {
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .h4 {
    font-size: 1.25rem !important;
  }
  
  .d-lg-block {
    display: none !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .px-md-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
  
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66667%;
  }
  
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333%;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

/* Small devices (phones) */
@media (max-width: 767.98px) {
  .navbar-nav {
    background: rgba(33, 33, 33, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-collapse {
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .timeline-section::before {
    left: 20px;
  }
  
  .sticky-top {
    position: relative;
    top: 0;
  }
  
  .team-card {
    height: 350px;
  }
  
  .col-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* Container */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

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

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

/* Lead */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Small */
.small {
  font-size: 0.875rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #b71c1c;
}

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

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

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

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

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Footer Styles */
footer {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition);
}

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

footer .bi {
  color: rgba(255, 255, 255, 0.8);
}

footer .bi:hover {
  color: var(--primary-color);
}

/* Custom Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b71c1c 100%) !important;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%) !important;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .shadow,
  .shadow-lg {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* Accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Performance */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}