/* Deep Indigo Eclipse - Architectural Studio Theme */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1a237e;
  --secondary-color: #7c4dff;
  --accent-color: #e8eaf6;
  --dark-bg: #0d1330;
  --light-text: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  --gradient-secondary: linear-gradient(135deg, #7c4dff 0%, #9575cd 100%);
  --shadow-dark: 0 10px 40px rgba(26, 35, 126, 0.3);
  --shadow-light: 0 5px 20px rgba(124, 77, 255, 0.2);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--light-text) !important;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none !important;
  color: var(--secondary-color) !important;
  transition: var(--transition-smooth);
}

a:hover {
  color: #9575cd !important;
  transform: translateY(-2px);
}

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

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

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

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: rgba(26, 35, 126, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 1rem 0 !important;
  transition: var(--transition-smooth);
}

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

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--light-text) !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.navbar-dark .navbar-toggler {
  border-color: var(--secondary-color) !important;
  color: var(--light-text) !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(255, 255, 255, 0.9)' 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.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--light-text) !important;
  background: var(--gradient-secondary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1330 0%, #1a237e 50%, #283593 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
}

.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="M50 0L100 50L50 100L0 50z" fill="%237c4dff" opacity="0.05"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: patternMove 60s linear infinite;
}

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

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.parallax-layer::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.parallax-layer::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 35, 126, 0.3) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float 15s ease-in-out infinite reverse;
}

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

/* ===== BUTTONS ===== */
.btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  transition: var(--transition-smooth) !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary {
  background: var(--gradient-secondary) !important;
  color: var(--light-text) !important;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9575cd 0%, #b39ddb 100%) !important;
  color: var(--light-text) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4) !important;
}

.btn-light {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-color) !important;
  box-shadow: var(--shadow-dark);
}

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

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

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

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

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

/* ===== FORMS ===== */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(124, 77, 255, 0.3) !important;
  color: var(--light-text) !important;
  padding: 0.875rem 1.25rem !important;
  border-radius: 10px !important;
  transition: var(--transition-smooth) !important;
  font-size: 1rem !important;
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(124, 77, 255, 0.25) !important;
  color: var(--light-text) !important;
  outline: none !important;
}

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

.placeholder-white::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.form-select option {
  background: var(--primary-color) !important;
  color: var(--light-text) !important;
}

/* ===== CARDS ===== */
.card {
  background: rgba(26, 35, 126, 0.4) !important;
  border: 1px solid rgba(124, 77, 255, 0.2) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth) !important;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-light) !important;
  border-color: var(--secondary-color) !important;
}

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

.experience-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 100%;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.experience-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 19, 48, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.experience-card:hover .experience-overlay {
  background: linear-gradient(180deg, rgba(26, 35, 126, 0.6) 0%, rgba(13, 19, 48, 0.95) 100%);
}

.experience-details {
  width: 100%;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
  position: relative;
}

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

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

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

/* ===== IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

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

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

.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25) !important;
}

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

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

.timeline-item {
  position: relative;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 4px solid var(--dark-bg);
  box-shadow: 0 0 0 4px var(--secondary-color);
}

.booking-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.timeline-slot {
  background: rgba(26, 35, 126, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.timeline-slot:hover {
  background: rgba(26, 35, 126, 0.5);
  transform: translateX(10px);
}

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

.bi-lightbulb, .bi-hammer, .bi-star-fill, .bi-award, .bi-rocket, .bi-infinity,
.bi-geo-alt-fill, .bi-telephone-fill, .bi-envelope-fill, .bi-calendar-check,
.bi-shield-check, .bi-clock-history, .bi-facebook, .bi-instagram, .bi-twitter,
.bi-linkedin, .bi-gem, .bi-chevron-right, .bi-info-circle, .bi-collection,
.bi-person-badge, .bi-check-circle-fill, .bi-credit-card, .bi-camera-video,
.bi-gear, .bi-stars, .bi-headset, .bi-envelope-heart, .bi-bar-chart,
.bi-cookie, .bi-shield-fill-check, .bi-graph-up, .bi-sliders, .bi-megaphone,
.bi-hand-thumbs-up, .bi-person-check, .bi-eye, .bi-arrow-repeat,
.bi-droplet-fill, .bi-tv-fill, .bi-wifi, .bi-cup-hot-fill, .bi-moon-stars-fill,
.bi-soundwave, .bi-door-open-fill, .bi-moisture, .bi-wine, .bi-fire,
.bi-tree-fill, .bi-peace, .bi-flower1, .bi-sunset-fill, .bi-heart-pulse-fill,
.bi-wind, .bi-brightness-high-fill, .bi-laptop, .bi-lightbulb-fill,
.bi-speaker-fill, .bi-phone-fill, .bi-water, .bi-houses-fill, .bi-easel-fill,
.bi-snow2, .bi-controller, .bi-washing-machine, .bi-sunrise, .bi-sun,
.bi-moon-stars, .bi-geo-alt, .bi-telephone, .bi-envelope, .bi-chevron-left,
.bi-car-front-fill, .bi-train-front-fill, .bi-airplane-fill {
  color: var(--secondary-color) !important;
  transition: var(--transition-smooth);
}

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

.d-inline-flex {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.d-inline-flex:hover {
  transform: rotate(360deg) scale(1.1);
}

/* ===== HEXAGON WRAPPER ===== */
.hexagon-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.hexagon-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: var(--transition-smooth);
}

.hexagon-wrapper:hover::before {
  transform: translate(-50%, -50%) rotate(390deg) scale(1.1);
}

/* ===== MASONRY GRID ===== */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.masonry-item:hover {
  transform: scale(1.03);
}

/* ===== ACCORDION ===== */
.accordion {
  --bs-accordion-bg: rgba(26, 35, 126, 0.3) !important;
  --bs-accordion-border-color: rgba(124, 77, 255, 0.2) !important;
}

.accordion-item {
  background: rgba(26, 35, 126, 0.3) !important;
  border: 1px solid rgba(124, 77, 255, 0.2) !important;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: rgba(26, 35, 126, 0.5) !important;
  color: var(--light-text) !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-secondary) !important;
  color: var(--light-text) !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='%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-button:hover {
  background: rgba(124, 77, 255, 0.4) !important;
}

.accordion-body {
  background: rgba(13, 19, 48, 0.5) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1.5rem !important;
}

.accordion-collapse {
  background: transparent !important;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.25rem !important;
}

.alert-info {
  background: rgba(124, 77, 255, 0.2) !important;
  color: var(--light-text) !important;
  border-left: 4px solid var(--secondary-color) !important;
}

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  background: var(--gradient-secondary) !important;
  color: var(--light-text) !important;
}

/* ===== PROGRESS ===== */
.progress {
  height: 10px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient-secondary) !important;
  border-radius: 10px !important;
  transition: width 1s ease !important;
}

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

.carousel-indicators {
  bottom: 20px !important;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: var(--secondary-color) !important;
  opacity: 0.5 !important;
  transition: var(--transition-smooth) !important;
}

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

.carousel-item {
  transition: transform 0.6s ease !important;
}

.carousel-inner {
  border-radius: 16px;
  overflow: hidden;
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel {
  position: relative;
  padding: 3rem 0;
}

.testimonial-card {
  background: rgba(26, 35, 126, 0.4);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 77, 255, 0.2);
}

.text-warning {
  color: #ffd700 !important;
}

/* ===== STICKY ELEMENTS ===== */
.sticky-top {
  position: sticky !important;
  top: 100px !important;
  z-index: 1020;
}

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

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav.flex-column {
  flex-direction: column;
}

.nav-link.py-2 {
  padding: 0.75rem 1.25rem !important;
}

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

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

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

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

/* ===== BACKGROUNDS ===== */
.bg-white {
  background-color: #ffffff !important;
}

.bg-light {
  background-color: rgba(232, 234, 246, 0.1) !important;
}

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

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

/* ===== BORDERS ===== */
.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid !important;
}

.border-white {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

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

/* ===== UTILITY CLASSES ===== */
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-stretch { align-items: stretch !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.text-center { text-align: center !important; }
.text-end { text-align: end !important; }
.text-lg-end { text-align: end !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-md-0 { margin-bottom: 0 !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-md-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !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; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.g-0 { gap: 0 !important; }
.g-3 { gap: 1rem !important; }
.g-4 { gap: 1.5rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.start-0 { start: 0 !important; }
.start-50 { start: 50% !important; }
.bottom-0 { bottom: 0 !important; }
.end-0 { end: 0 !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }
.position-absolute { position: absolute !important; }
.m-4 { margin: 1.5rem !important; }
.small { font-size: 0.875rem !important; }
.lead { font-size: 1.25rem !important; font-weight: 300 !important; }

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

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

.text-decoration-none {
  text-decoration: none !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 {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.col-12, .col-6, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7,
.col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10 {
  flex: 0 0 auto;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }

/* ===== MEDIA QUERIES ===== */
@media (min-width: 768px) {
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  
  .text-md-start { text-align: start !important; }
  .text-md-end { text-align: end !important; }
  
  .masonry-grid { column-count: 2; }
  
  .mx-md-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
}

@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%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .text-lg-end { text-align: end !important; }
  
  .flex-lg-row-reverse { flex-direction: row-reverse !important; }
  
  .masonry-grid { column-count: 3; }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13, 19, 48, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .nav-link {
    margin: 0.25rem 0;
  }
  
  .hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }
  
  section {
    padding: 60px 0;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .timeline-item::after {
    left: 20px;
  }
}

@media (max-width: 767px) {
  .display-1 { font-size: 3rem !important; }
  .display-2 { font-size: 2.5rem !important; }
  .display-3 { font-size: 2rem !important; }
  .display-5 { font-size: 1.75rem !important; }
  .display-6 { font-size: 1.5rem !important; }
  
  .fs-1 { font-size: 2rem !important; }
  .fs-2 { font-size: 1.75rem !important; }
  .fs-3 { font-size: 1.5rem !important; }
  
  .btn { padding: 0.65rem 1.5rem !important; }
  .btn-lg { padding: 0.85rem 2rem !important; }
  
  .masonry-grid { column-count: 1; }
  
  .hexagon-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  
  section { padding: 40px 0; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  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 pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ===== HOVER EFFECTS ===== */
.card:hover, .experience-card:hover, .testimonial-card:hover {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 19, 48, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

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

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #9575cd 0%, #b39ddb 100%);
}

/* ===== SELECTION STYLING ===== */
::selection {
  background: var(--secondary-color);
  color: var(--light-text);
}

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

/* ===== FOCUS STATES ===== */
*:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none !important;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .btn, .form-control, .carousel-indicators {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}