/* ===================================
   ARCHITECTURAL STUDIO WEBSITE CSS
   Theme: Dynamic Blue & Energy Orange
   =================================== */

/* CSS VARIABLES */
:root {
  --primary-color: #1976D2;
  --primary-dark: #115293;
  --primary-light: #42a5f5;
  --secondary-color: #FFA726;
  --secondary-dark: #f57c00;
  --secondary-light: #ffb74d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

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

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

/* NAVIGATION */
.navbar {
  background-color: rgba(25, 118, 210, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  z-index: 1030;
}

.navbar.scrolled {
  background-color: rgba(25, 118, 210, 0.98) !important;
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--white) !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  text-transform: uppercase;
}

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

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

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--white) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

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

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

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

.hero-video-container {
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.hero-video-container video,
.hero-video-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.9) 0%, rgba(17, 82, 147, 0.85) 100%);
  z-index: 2;
}

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

.hero-section .display-1 {
  color: var(--white) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-section .lead {
  color: var(--white) !important;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease;
  opacity: 0.95;
}

.hero-section .bi-chevron-down {
  color: var(--white) !important;
  font-size: 2.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: var(--transition-base);
}

.hero-section .bi-chevron-down:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.2);
}

/* BUTTONS */
.btn {
  font-weight: 600 !important;
  border-radius: 10px;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  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-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

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

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

.btn-warning:hover {
  background-color: var(--secondary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 167, 38, 0.6);
}

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

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

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

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-3px);
}

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

.btn-outline-light:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1.1rem !important;
}

/* CARDS */
.card {
  border-radius: 15px !important;
  transition: var(--transition-base);
  overflow: hidden;
  border: none !important;
  background: var(--white);
}

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

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

.card-header {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
}

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

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

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

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

/* BADGES */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  letter-spacing: 0.5px;
}

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

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

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

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

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

/* ICONS */
.bi {
  vertical-align: middle;
  line-height: 1;
}

.bi-dribbble,
.bi-lightning-charge,
.bi-trophy,
.bi-people,
.bi-person-check,
.bi-shop,
.bi-check-circle,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-lightbulb-fill,
.bi-building,
.bi-heart-fill,
.bi-trophy-fill,
.bi-star-fill,
.bi-clock-fill,
.bi-send-fill,
.bi-shield-check,
.bi-car-front-fill,
.bi-bus-front-fill,
.bi-universal-access-circle,
.bi-clock-history,
.bi-shield-lock-fill,
.bi-list-ul,
.bi-info-circle-fill,
.bi-person-badge,
.bi-credit-card,
.bi-activity,
.bi-graph-up,
.bi-gear-fill,
.bi-graph-up-arrow,
.bi-bookmark-star-fill,
.bi-megaphone-fill,
.bi-exclamation-triangle-fill,
.bi-lock-fill,
.bi-server,
.bi-people-fill,
.bi-arrow-repeat,
.bi-eye-fill,
.bi-pencil-fill,
.bi-trash-fill,
.bi-hand-thumbs-down-fill,
.bi-download,
.bi-check-circle-fill,
.bi-check-lg,
.bi-x-lg,
.bi-clock,
.bi-calendar-check,
.bi-gift,
.bi-basketball,
.bi-circle,
.bi-intersect,
.bi-stopwatch,
.bi-heart-pulse,
.bi-droplet,
.bi-shield-plus,
.bi-bag,
.bi-calendar-event,
.bi-lightning-fill,
.bi-fire {
  color: var(--primary-color);
  transition: var(--transition-base);
}

.card:hover .bi,
.timeline-item:hover .bi {
  color: var(--secondary-color) !important;
  transform: scale(1.1) rotate(5deg);
}

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

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

/* IMAGES */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

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

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

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

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

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

.object-fit-cover {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

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

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

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

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

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

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

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

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  transition: var(--transition-base);
}

.timeline-item:hover {
  transform: scale(1.02);
}

.timeline-item .rounded-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: 4px solid var(--white);
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
  position: relative;
  z-index: 2;
}

.timeline-item .bi {
  color: var(--white) !important;
}

/* CAROUSEL */
.carousel {
  position: relative;
}

.carousel-indicators {
  bottom: -3rem;
}

.carousel-indicators button {
  background-color: var(--primary-color) !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  margin: 0 0.5rem !important;
  opacity: 0.5;
  transition: var(--transition-base);
}

.carousel-indicators button.active {
  background-color: var(--secondary-color) !important;
  opacity: 1;
  transform: scale(1.3);
}

.carousel-item {
  padding: 3rem 2rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px !important;
  height: 50px !important;
  background-color: var(--primary-color) !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: var(--transition-base);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: var(--secondary-color) !important;
}

.carousel-control-prev {
  left: -25px;
}

.carousel-control-next {
  right: -25px;
}

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

.form-control,
.form-select {
  border: 2px solid var(--gray-300) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-base);
  font-size: 1rem;
}

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

.form-control::placeholder {
  color: var(--gray-600);
  opacity: 0.7;
}

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

.form-check-input {
  width: 1.5em !important;
  height: 1.5em !important;
  border: 2px solid var(--gray-300) !important;
  transition: var(--transition-base);
}

.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.25rem rgba(25, 118, 210, 0.25) !important;
}

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

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

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

.alert-info {
  background-color: rgba(25, 118, 210, 0.1) !important;
  color: var(--primary-color) !important;
}

.alert-warning {
  background-color: rgba(255, 167, 38, 0.1) !important;
  color: var(--secondary-dark) !important;
}

.alert .bi {
  margin-right: 0.5rem;
}

/* NAVIGATION TABS & PILLS */
.nav-pills .nav-link {
  color: var(--dark-color) !important;
  background-color: transparent;
  border-radius: 10px !important;
  padding: 0.75rem 1.5rem !important;
  margin: 0.25rem;
  font-weight: 600 !important;
  transition: var(--transition-base);
}

.nav-pills .nav-link:hover {
  background-color: var(--gray-200) !important;
  color: var(--primary-color) !important;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

.nav.flex-column .nav-link {
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem !important;
  border-radius: 0 !important;
}

.nav.flex-column .nav-link:hover {
  background-color: var(--gray-100) !important;
  border-left: 3px solid var(--primary-color);
}

.tab-content {
  padding: 2rem 0;
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
}

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

.list-unstyled a:hover {
  color: var(--primary-color) !important;
  padding-left: 0.5rem;
}

/* FACILITY OVERLAY */
.facility-img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.facility-img:hover .facility-overlay {
  opacity: 1;
}

/* HOVER EFFECTS */
.hover-lift {
  transition: var(--transition-base);
}

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

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
  color: var(--white) !important;
  padding: 4rem 0 2rem;
}

footer h5 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

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

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

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

/* SOCIAL ICONS */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-youtube,
.bi-linkedin {
  font-size: 1.5rem;
  transition: var(--transition-base);
}

.bi-facebook:hover {
  color: #1877f2 !important;
  transform: scale(1.2);
}

.bi-instagram:hover {
  color: #e4405f !important;
  transform: scale(1.2);
}

.bi-twitter:hover {
  color: #1da1f2 !important;
  transform: scale(1.2);
}

.bi-youtube:hover {
  color: #ff0000 !important;
  transform: scale(1.2);
}

.bi-linkedin:hover {
  color: #0077b5 !important;
  transform: scale(1.2);
}

/* UTILITY CLASSES */
.text-white {
  color: var(--white) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.z-index-2 {
  z-index: 2 !important;
}

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

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

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

@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 bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

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

/* SCROLL ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* 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 */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  
  .offset-lg-1 { margin-left: 8.333333%; }
  
  .d-lg-block { display: block !important; }
  .d-lg-none { display: none !important; }
  
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
  
  .ps-lg-5 { padding-left: 3rem !important; }
  .pe-lg-5 { padding-right: 3rem !important; }
  
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  
  .mt-lg-0 { margin-top: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-4 { width: 33.333333%; }
  .col-md-6 { width: 50%; }
  
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  
  .p-md-5 { padding: 3rem !important; }
  
  .order-md-1 { order: 1 !important; }
  .order-md-2 { order: 2 !important; }
  
  .mb-md-0 { margin-bottom: 0 !important; }
}

/* Mobile devices (phones, less than 768px) */
@media (max-width: 767.98px) {
  .display-1 { font-size: 3rem !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; }
  
  .hero-section { min-height: 80vh; }
  
  .navbar-nav { background-color: rgba(25, 118, 210, 0.98); padding: 1rem; border-radius: 10px; margin-top: 1rem; }
  
  .btn-lg { padding: 0.75rem 1.5rem !important; font-size: 1rem !important; }
  
  .card-body { padding: 1.5rem !important; }
  
  section { padding: 3rem 0; }
  
  .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  
  .timeline-container::before { left: 30px; }
  
  .carousel-control-prev,
  .carousel-control-next { display: none; }
  
  .d-none-mobile { display: none !important; }
  
  .fs-1 { font-size: 2rem !important; }
  .fs-2 { font-size: 1.75rem !important; }
  
  .gap-4 { gap: 1rem !important; }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .container,
  .container-fluid { padding-left: 1rem; padding-right: 1rem; }
  
  .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  
  .display-1 { font-size: 2.5rem !important; }
  .fs-3 { font-size: 1.25rem !important; }
  
  .btn { padding: 0.5rem 1rem !important; font-size: 0.9rem !important; }
  
  .hero-section .bi-chevron-down { font-size: 2rem; }
  
  footer { padding: 2rem 0 1rem; }
}

/* PRINT STYLES */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  footer { display: none !important; }
  
  body { color: #000; background: #fff; }
  
  a { text-decoration: underline; }
}

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

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  .btn-primary { border: 2px solid var(--white); }
  .btn-warning { border: 2px solid var(--white); }
  .card { border: 2px solid var(--dark-color) !important; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1a1a;
    --dark-color: #f8f9fa;
    --gray-100: #2d2d2d;
    --gray-200: #3a3a3a;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 6px;
}

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

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

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