/* Crimson Shadow Architecture Studio - Custom Styles */

:root {
  --primary-color: #C62828;
  --secondary-color: #263238;
  --primary-dark: #8E0000;
  --primary-light: #FF5F52;
  --secondary-dark: #000A12;
  --secondary-light: #4F5B62;
  --text-light: #FFFFFF;
  --text-dark: #212121;
  --shadow-color: rgba(198, 40, 40, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  padding: 1rem 0 !important;
}

.navbar.scrolled {
  background: rgba(38, 50, 56, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem var(--shadow-color) !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 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  position: relative;
  transition: var(--transition);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--text-light) !important;
  background: rgba(198, 40, 40, 0.2) !important;
  border-radius: 5px;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--primary-dark) 100%) !important;
  position: relative;
  min-height: 100vh !important;
  overflow: hidden;
}

.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 50M50 0l50 50M0 50l50 50" stroke="%23C62828" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

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

.display-1 {
  font-weight: 800 !important;
  color: var(--text-light) !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 2px;
  margin-bottom: 1.5rem !important;
}

.display-6 {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4) !important;
  font-weight: 300 !important;
}

.display-3 {
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
}

.display-4 {
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem !important;
}

.display-5 {
  font-weight: 600 !important;
  color: var(--text-light) !important;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  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-lg {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  padding: 1rem 2.5rem !important;
  box-shadow: 0 4px 15px var(--shadow-color) !important;
}

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

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

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--secondary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-2px);
}

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

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

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

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

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

/* Scroll Indicator */
.bi-chevron-down {
  animation: bounce 2s infinite;
  color: var(--text-light) !important;
  font-size: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Section Styles */
.py-5 {
  padding: 4rem 0 !important;
}

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

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

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

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

.my-5 {
  margin: 4rem 0 !important;
}

.my-4 {
  margin: 3rem 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

/* Image Styles */
.img-fluid {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Cards and Program Cards */
.program-card {
  background: var(--text-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  height: 100%;
}

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

.program-image {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.program-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.badge {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 25px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  z-index: 2;
}

.bg-success {
  background-color: #2E7D32 !important;
}

.bg-warning {
  background-color: #F57C00 !important;
}

.bg-info {
  background-color: #0277BD !important;
}

.card {
  border-radius: 12px !important;
  transition: var(--transition);
  background: var(--text-light) !important;
}

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

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

.card-header {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 3px solid var(--primary-color) !important;
}

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

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

/* Feature Boxes */
.p-4 {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

.p-4:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
  border-left-width: 6px;
}

.p-5 {
  padding: 3rem !important;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.p-5::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  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); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

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

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

.bi-fire,
.bi-lightning-charge-fill,
.bi-lightning-fill,
.bi-dumbbell,
.bi-person-check-fill,
.bi-shield-shaded,
.bi-heart-pulse-fill,
.bi-clipboard-data-fill,
.bi-geo-alt-fill,
.bi-people-fill,
.bi-trophy-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-send,
.bi-clock-history,
.bi-exclamation-triangle-fill,
.bi-chat-dots-fill,
.bi-calendar-check-fill,
.bi-facebook,
.bi-instagram,
.bi-youtube,
.bi-tiktok,
.bi-check-circle-fill,
.bi-info-circle,
.bi-gear,
.bi-shield-check,
.bi-people,
.bi-cookie,
.bi-hand-thumbs-up,
.bi-person-check,
.bi-camera-video,
.bi-link-45deg,
.bi-pencil-square,
.bi-envelope,
.bi-check2-circle,
.bi-arrow-clockwise,
.bi-person,
.bi-speedometer2,
.bi-clock,
.bi-calendar3 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.me-2 {
  margin-right: 0.5rem !important;
  font-size: inherit !important;
  margin-bottom: 0 !important;
}

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

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

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

/* Background Colors */
.bg-white {
  background-color: #FFFFFF !important;
}

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

/* Text Colors */
.text-white {
  color: var(--text-light) !important;
}

.text-light {
  color: rgba(255, 255, 255, 0.95) !important;
}

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

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

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

/* Typography */
.h2,
.h3,
.h4,
.h5 {
  font-weight: 600 !important;
  color: var(--secondary-color) !important;
}

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

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

.h4 {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

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

.lead {
  font-size: 1.15rem !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

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

.fs-5 {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

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

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

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

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: var(--transition);
}

.list-unstyled li:hover {
  padding-left: 10px;
}

/* Links */
a {
  transition: var(--transition);
}

.text-decoration-none {
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.text-decoration-none:hover {
  color: var(--primary-light) !important;
}

/* Forms */
.form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  transition: var(--transition) !important;
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem var(--shadow-color) !important;
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
}

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

/* Intensity Meter & Progress */
.intensity-meter {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.progress {
  height: 8px !important;
  border-radius: 10px !important;
  background-color: #E0E0E0 !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
  transition: width 0.6s ease !important;
}

/* Program Pricing */
.program-pricing {
  background: var(--secondary-color);
  color: var(--text-light) !important;
  padding: 2rem;
  border-radius: 0 0 15px 15px;
}

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

/* Schedule Container */
.schedule-container {
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.class-item {
  transition: var(--transition);
  cursor: pointer;
}

.class-item:hover {
  background: rgba(198, 40, 40, 0.05) !important;
  padding-left: 2rem !important;
}

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

/* Accordion */
.accordion {
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-item {
  border: 1px solid #E0E0E0 !important;
  margin-bottom: 1rem !important;
  border-radius: 8px !important;
  overflow: hidden;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem var(--shadow-color) !important;
}

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

.accordion-body {
  padding: 1.5rem !important;
  background: #FAFAFA !important;
  color: var(--text-dark) !important;
}

.collapsed {
  background: var(--text-light) !important;
}

/* Alert */
.alert {
  border-radius: 8px !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
}

.alert-success {
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%) !important;
  color: var(--text-light) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ms-auto {
  margin-left: auto !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;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !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;
}

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

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

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

/* Responsive Grid */
.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

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

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

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

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

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

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

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

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

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.66666667%;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
}

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

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

/* Mobile Optimization */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(38, 50, 56, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !important;
    border-radius: 5px;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .hero-section {
    min-height: 100vh !important;
    padding: 2rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .col-md-4,
  .col-md-6 {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .h2 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
  }
  
  .col-6 {
    width: 100%;
  }
}

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

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

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

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

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

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .hero-section,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}