/* Midnight Celestial Architecture Studio - Custom Styles */

:root {
  --primary-color: #1A237E;
  --secondary-color: #FFD700;
  --dark-bg: #0a0e27;
  --light-text: #ffffff;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  color: var(--light-text);
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background: rgba(26, 35, 126, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
  transition: all var(--transition-speed) ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(26, 35, 126, 0.98) !important;
  box-shadow: 0 4px 30px rgba(255, 215, 0, 0.2);
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
  color: #ffffff !important;
  transform: scale(1.05);
}

.navbar-brand .bi-stars {
  color: var(--secondary-color) !important;
  font-size: 1.8rem;
  animation: starPulse 2s infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

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

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(255, 215, 0, 0.1);
}

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

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

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

/* Stars Background Animation */
.stars-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0e27 0%, var(--primary-color) 50%, #1a237e 100%);
  position: relative;
  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%3Cdefs%3E%3Cpattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 100 0 L 0 0 0 100" fill="none" stroke="%23FFD700" stroke-width="0.5" opacity="0.1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)" /%3E%3C/svg%3E');
  opacity: 0.3;
}

.display-2,
.display-3,
.display-4,
.display-5 {
  color: var(--light-text) !important;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.25rem;
  line-height: 1.8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  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.2);
  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(--primary-color) !important;
  border-color: var(--secondary-color) !important;
}

.btn-primary:hover {
  background: #ffed4e !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4) !important;
}

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

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3) !important;
}

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

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

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

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

/* Card Styles */
.card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  border-radius: 15px !important;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3) !important;
}

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: #333333 !important;
  line-height: 1.7;
}

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

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

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

.shadow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid rgba(26, 35, 126, 0.2) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333333 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25) !important;
  background: #ffffff !important;
}

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

.form-check-input {
  border: 2px solid var(--primary-color) !important;
}

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

.form-check-label {
  color: #333333 !important;
}

.invalid-feedback {
  color: #dc3545 !important;
  font-weight: 500;
}

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 50px;
}

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

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

.bg-light {
  background: rgba(255, 255, 255, 0.95) !important;
}

.text-dark {
  color: #333333 !important;
}

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

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

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

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

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

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

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

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(26, 35, 126, 0.7);
  border-radius: 50%;
  padding: 2rem;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary-color);
}

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

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-line {
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

/* Founder Card Styles */
.founder-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  height: 400px;
}

.founder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 35, 126, 0.95), transparent);
  padding: 2rem;
  transform: translateY(60%);
  transition: transform var(--transition-speed) ease;
}

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

.founder-info h4 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder-info p {
  color: var(--light-text) !important;
  margin-bottom: 0.25rem;
}

/* Room Card Styles */
.room-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  background: rgba(255, 255, 255, 0.95);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3) !important;
}

.room-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Amenities List */
.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 35, 126, 0.1);
  border-radius: 50px;
  color: var(--primary-color) !important;
  font-weight: 500;
}

.amenities-list li i {
  color: var(--secondary-color) !important;
}

/* Filter Button Styles */
.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--light-text) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

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

/* Accordion Styles */
.accordion-item {
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
}

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

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

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

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFD700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.98);
  color: #333333 !important;
  padding: 1.5rem;
  line-height: 1.8;
}

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

.alert-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: var(--light-text) !important;
}

.alert-info {
  background: linear-gradient(135deg, #17a2b8, #20c997) !important;
  color: var(--light-text) !important;
}

.alert-warning {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

/* Table Styles */
.table {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 10px;
  overflow: hidden;
}

.table thead {
  background: var(--primary-color) !important;
  color: var(--light-text) !important;
}

.table thead th {
  border: none !important;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table tbody tr {
  transition: all var(--transition-speed) ease;
  color: #333333 !important;
}

.table-hover tbody tr:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  transform: scale(1.01);
}

.table tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(26, 35, 126, 0.1) !important;
  vertical-align: middle;
}

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

.bi-check-circle-fill,
.bi-star-fill {
  color: var(--secondary-color) !important;
}

.bi-arrow-right {
  transition: transform var(--transition-speed) ease;
}

.btn:hover .bi-arrow-right {
  transform: translateX(5px);
}

/* List Styles */
.list-unstyled li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9) !important;
}

.list-unstyled li i {
  color: var(--secondary-color) !important;
  font-size: 1.1rem;
}

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

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

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

/* Utility Classes */
.gap-2 {
  gap: 0.5rem !important;
}

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

.gap-4 {
  gap: 1.5rem !important;
}

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !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;
}

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

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

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

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

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

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

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

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

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

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

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

.mb-0 {
  margin-bottom: 0 !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-3 {
  margin-top: 1rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

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

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

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

/* Height Utilities */
.h-100 {
  height: 100% !important;
}

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

/* Border Utilities */
.border-0 {
  border: none !important;
}

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

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

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

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

.row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-md-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.row-cols-lg-3 > * {
  flex: 0 0 auto;
  width: 33.333333%;
}

/* Footer Styles */
footer {
  background: rgba(10, 14, 39, 0.95) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  border-top: 3px solid var(--secondary-color);
}

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

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

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

footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s linear infinite;
}

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

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

/* Slide In Animation */
.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

.hover-scale {
  transition: transform var(--transition-speed) ease;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
  .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;
  }
  
  .lead {
    font-size: 1rem !important;
  }
}

/* Responsive Utilities */
@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .sticky-lg-top {
    position: relative !important;
  }
  
  .founder-card {
    height: 350px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .p-md-5 {
    padding: 1.5rem !important;
  }
  
  .founder-card {
    height: 300px;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .scroll-to-top,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    page-break-inside: avoid;
  }
}

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

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

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

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

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

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

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

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

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

/* Custom Section Backgrounds */
.bg-dark-gradient {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%) !important;
}

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

/* Smooth Transitions for All Interactive Elements */
a, button, .btn, .card, .form-control, .form-select, .nav-link {
  transition: all var(--transition-speed) ease;
}