/* Deep Blue Amber Architecture Studio CSS */

:root {
  --primary-color: #1565C0;
  --secondary-color: #FF6F00;
  --dark-blue: #0D47A1;
  --light-blue: #42A5F5;
  --dark-amber: #E65100;
  --light-amber: #FFB74D;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --transition: all 0.3s ease;
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(21, 101, 192, 0.3);
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 30px rgba(21, 101, 192, 0.5);
}

.navbar-brand {
  font-size: 1.8rem;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

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

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

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 111, 0, 0.2) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 50%, var(--dark-amber) 100%);
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.parallax-layer {
  z-index: 0;
  top: 0;
  left: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l50 50L0 100zm100 0l-50 50 50 50z" fill="%23ffffff" opacity="0.05"/%3E%3C/svg%3E');
  z-index: 1;
}

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

.animate-fade-in {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

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

.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
  line-height: 1.2;
}

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

.lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.25rem;
  font-weight: 400;
}

/* Buttons */
.btn {
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

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

.btn-primary:hover {
  background: var(--dark-amber) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 111, 0, 0.6);
}

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

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

.btn-light {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: var(--light-gray) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

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

/* Timeline Preview */
.timeline-preview {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.timeline-item {
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

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

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

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

/* Diagonal Section */
.diagonal-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

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

.diagonal-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--white);
  transform: skewY(-2deg);
}

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

.card:hover {
  transform: translateY(-10px);
}

.hover-lift {
  transition: var(--transition);
}

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

.card-body {
  padding: 2rem;
}

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

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

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

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

/* Team Card */
.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
  transition: var(--transition);
}

.team-card:hover img {
  transform: scale(1.1);
  border-color: var(--primary-color);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.portfolio-card {
  position: relative;
  height: 100%;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(21, 101, 192, 0.9), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

/* Filter Buttons */
.filter-btn {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Badge */
.badge {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-amber) 100%);
  color: var(--white) !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

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

.cta-section h2,
.cta-section p {
  color: var(--white) !important;
}

/* Forms */
.form-label {
  color: var(--dark-gray) !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  color: var(--dark-gray) !important;
  background: var(--white) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25) !important;
  outline: none;
}

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

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  border: 2px solid var(--primary-color);
}

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

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

/* Progress Bar */
.progress {
  height: 30px;
  border-radius: 15px;
  background: #e0e0e0 !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  transition: width 1s ease-in-out;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent) !important;
  background-size: 1rem 1rem;
  animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
  0% {
    background-position: 1rem 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Accordion */
.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.accordion-button {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  color: var(--white) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25) !important;
  border: none;
}

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

.accordion-button.collapsed::after {
  filter: none;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  color: var(--dark-gray) !important;
}

/* Modal */
.modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  color: var(--white) !important;
  border: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: var(--white) !important;
  font-weight: 700;
}

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

.modal-body {
  padding: 2rem;
  color: var(--dark-gray) !important;
}

/* Fixed Chat Button */
.position-fixed {
  z-index: 999;
}

.position-fixed.btn {
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(255, 111, 0, 0.5);
  animation: bounce 2s infinite;
}

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

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

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-check-circle-fill,
.bi-arrow-right-circle,
.bi-arrow-right,
.bi-chat-dots-fill,
.bi-send,
.bi-train-front,
.bi-bus-front,
.bi-p-circle,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-tree-fill,
.bi-cloud-slash-fill,
.bi-lightning-fill,
.bi-droplet-half,
.bi-recycle,
.bi-patch-check-fill {
  color: var(--secondary-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 0 1rem;
}

footer h5,
footer h6 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: block;
  padding: 0.3rem 0;
}

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

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

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

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

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

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

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

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

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

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

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

.opacity-90 {
  opacity: 0.9 !important;
}

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

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

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

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

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

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

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

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

.position-sticky {
  position: sticky !important;
  top: 100px;
}

.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-y {
  transform: translateY(-50%) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.me-n5 {
  margin-right: -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-lg-0 {
  margin-bottom: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.p-5 {
  padding: 3rem !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsive Typography */
.fs-3 {
  font-size: 1.75rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

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

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

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.25rem;
}

.h6 {
  font-size: 1rem;
}

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

/* Ratio */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    margin: 0.25rem 0;
    text-align: center;
  }

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

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

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

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

  .display-6 {
    font-size: 1.25rem;
  }

  .btn-lg {
    padding: 0.75rem 2rem;
  }

  section {
    padding: 60px 0;
  }

  .me-n5 {
    margin-right: 0 !important;
  }

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

  .position-fixed.btn {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}

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

  .display-3 {
    font-size: 1.75rem;
  }

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

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

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

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

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

  section {
    padding: 40px 0;
  }

  .card-body {
    padding: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem;
  }

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

  .display-3 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .timeline-marker {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .team-card img {
    width: 120px;
    height: 120px;
  }

  .position-fixed.btn {
    width: 45px;
    height: 45px;
  }

  .card-img-top {
    height: 200px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .position-fixed,
  .modal {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}

/* Animations */
@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 scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

.animate-scale-up {
  animation: scaleUp 0.8s ease-out forwards;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* Focus Styles */
*:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

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

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

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