/* Architectural Studio - Quantum Blue & Amber Glow Theme */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1E88E5;
  --secondary-color: #FFA726;
  --dark-blue: #0D47A1;
  --light-blue: #64B5F6;
  --dark-amber: #F57C00;
  --light-amber: #FFD54F;
  --dark-bg: #0a1929;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-light: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1E88E5 0%, #0D47A1 100%);
  --gradient-secondary: linear-gradient(135deg, #FFA726 0%, #F57C00 100%);
  --gradient-quantum: linear-gradient(135deg, #1E88E5 0%, #FFA726 100%);
  --shadow-sm: 0 2px 8px rgba(30, 136, 229, 0.1);
  --shadow-md: 0 4px 16px rgba(30, 136, 229, 0.2);
  --shadow-lg: 0 8px 32px rgba(30, 136, 229, 0.3);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 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(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
.display-2,
.display-3,
.display-4,
.display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--text-dark) !important;
}

.text-white.display-2,
.text-white.display-3,
.text-white.display-4 {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 300;
  line-height: 1.8;
}

.fs-4,
.fs-5 {
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--gradient-primary) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  padding: 1rem 0;
}

.navbar.fixed-top {
  z-index: 1030;
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 167, 38, 0.5) !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, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition-base);
  position: relative;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(255, 167, 38, 0.15);
  transform: translateY(-2px);
}

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

/* ===== BUTTONS ===== */
.btn {
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  border: none;
  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(--gradient-secondary) !important;
  color: var(--text-light) !important;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--secondary-color) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-lg:hover {
  background: var(--gradient-primary) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color) !important;
}

.btn-lg:active {
  transform: translateY(-1px);
}

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

.btn-outline-secondary:hover {
  background: var(--gradient-secondary) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.filter-btn {
  background: var(--light-bg) !important;
  color: var(--text-dark) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.5rem 1.5rem;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.view-details-btn {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border: none !important;
  font-weight: 600;
}

.view-details-btn:hover {
  background: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30, 136, 229, 0.4) !important;
}

.card-body {
  padding: 2rem;
}

.card-body.p-4 {
  padding: 2.5rem !important;
}

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

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

.card-text {
  color: var(--text-dark) !important;
  line-height: 1.7;
}

.contact-card {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(255, 167, 38, 0.05));
  border: 2px solid var(--primary-color) !important;
}

.contact-card:hover {
  border-color: var(--secondary-color) !important;
}

.card-front,
.card-qr {
  background: var(--text-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.team-card {
  background: var(--text-light);
  border-radius: 16px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(30, 136, 229, 0.1) !important;
}

.team-card:hover {
  border-color: var(--secondary-color) !important;
  box-shadow: var(--shadow-lg) !important;
}

.room-card {
  background: var(--text-light);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

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

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

/* ===== BADGES ===== */
.badge {
  background: var(--gradient-secondary) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid rgba(30, 136, 229, 0.3) !important;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
  font-size: 1rem;
}

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

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

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

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

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

.valid-feedback {
  color: #28a745 !important;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-control.is-invalid {
  border-color: #dc3545 !important;
}

.form-control.is-valid {
  border-color: #28a745 !important;
}

/* ===== HERO SECTION ===== */
.position-relative.vh-100 {
  background: var(--gradient-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.position-absolute.w-100.h-100 {
  opacity: 0.3;
  z-index: 1;
}

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

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

.about-hero {
  background: var(--gradient-quantum);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: quantumDots 20s linear infinite;
}

/* ===== QUANTUM EFFECTS ===== */
.quantum-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.quantum-dots::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  opacity: 0.2;
  animation: float 8s ease-in-out infinite;
}

.quantum-dots::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  right: 10%;
  opacity: 0.2;
  animation: float 10s ease-in-out infinite reverse;
}

.quantum-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, var(--primary-color) 0, var(--primary-color) 1px, transparent 1px, transparent 10px);
  pointer-events: none;
}

.quantum-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(30, 136, 229, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 15s linear infinite;
}

.quantum-orbit::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--secondary-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.philosophy-section {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(255, 167, 38, 0.05));
  padding: 5rem 0;
  position: relative;
}

.cta-section {
  background: var(--gradient-primary);
  padding: 5rem 0;
  color: var(--text-light) !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 167, 38, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.team-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

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

/* ===== TIMELINE ===== */
.about-split-container {
  padding: 0;
}

.timeline-column {
  background: var(--gradient-primary);
  color: var(--text-light) !important;
  padding: 4rem 2rem;
  position: relative;
}

.timeline-wrapper {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--secondary-color);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left: none;
}

.timeline-dot {
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px var(--secondary-color);
}

.timeline-item h4 {
  color: var(--text-light) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7;
}

/* ===== FOUNDER SECTION ===== */
.founder-column {
  background: var(--text-light);
  padding: 4rem 2rem;
  position: relative;
}

.founder-content {
  position: relative;
  z-index: 2;
}

.founder-image-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.founder-image-wrapper img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--primary-color);
}

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

.founder-story p {
  color: var(--text-dark) !important;
  line-height: 1.8;
}

/* ===== STATS ===== */
.stats-row {
  margin: 3rem 0;
}

.stats-row .col-4 {
  text-align: center;
  padding: 1.5rem;
}

.stats-row h3 {
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stats-row p {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  margin: 0;
}

/* ===== IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

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

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

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

.circular-image-grid img {
  border-radius: 50%;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.circular-image-grid img:hover {
  transform: scale(1.1);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.lazy-load {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-load.loaded {
  opacity: 1;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark) !important;
}

.amenities {
  list-style: none;
  padding: 0;
}

.amenities li {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 136, 229, 0.1);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-color) !important;
}

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

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

.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem;
  color: var(--text-light) !important;
  transition: var(--transition-base);
}

.bi-facebook:hover {
  color: #1877f2 !important;
}

.bi-instagram:hover {
  color: #e4405f !important;
}

.bi-twitter:hover {
  color: #1da1f2 !important;
}

.bi-linkedin:hover {
  color: #0a66c2 !important;
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill {
  color: var(--primary-color) !important;
  font-size: 1.3rem;
}

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

.bi-arrows-fullscreen {
  font-size: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-base);
  margin: 0 0.25rem;
}

.social-icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-bg);
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
}

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

footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition-base);
}

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

footer .text-decoration-none {
  display: block;
  padding: 0.25rem 0;
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 25, 41, 0.98);
  backdrop-filter: blur(10px);
  color: var(--text-light) !important;
  padding: 1.5rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1040;
  animation: slideUp 0.5s ease-out;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
}

.cookie-banner .btn {
  margin: 0 0.25rem;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 16px;
  overflow: hidden;
}

.accordion-item {
  border: 1px solid rgba(30, 136, 229, 0.2) !important;
  background: var(--text-light);
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-header {
  margin: 0;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
  border-color: var(--primary-color);
}

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

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

.accordion-body {
  padding: 1.5rem;
  background: var(--text-light);
  color: var(--text-dark) !important;
  line-height: 1.8;
}

.accordion-collapse.show {
  border-top: 2px solid var(--primary-color);
}

/* ===== UTILITIES ===== */
.text-dark {
  color: var(--text-dark) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.flex-shrink-0 {
  flex-shrink: 0 !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;
}

.gap-2 {
  gap: 0.5rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

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

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

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

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

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

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

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

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

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

.pe-lg-5 {
  padding-right: 3rem !important;
}

.small {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

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

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes quantumDots {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}

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

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

/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, 992px and up) */
@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-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  
  .text-lg-end { text-align: right !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .ps-lg-5 { padding-left: 3rem !important; }
  .pe-lg-5 { padding-right: 3rem !important; }
  .p-lg-5 { padding: 3rem !important; }
  .justify-content-lg-end { justify-content: flex-end !important; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
  
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .timeline-column,
  .founder-column {
    padding: 3rem 1.5rem;
  }
  
  .about-hero {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 767px) {
  .col-6 { flex: 0 0 auto; width: 50%; }
  .col-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-12 { flex: 0 0 auto; width: 100%; }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem;
  }
  
  .card-body.p-4 {
    padding: 1.5rem !important;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .stats-row .col-4 {
    padding: 1rem 0.5rem;
  }
  
  .stats-row h3 {
    font-size: 1.75rem;
  }
  
  .circular-image-grid img {
    height: 150px;
  }
  
  .quantum-orbit {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 575px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.25rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .fs-4 {
    font-size: 1rem !important;
  }
  
  .fs-5 {
    font-size: 0.95rem !important;
  }
  
  .badge {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.625rem 1.5rem !important;
    font-size: 0.95rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .cookie-banner {
    padding: 1rem 0;
  }
  
  .cookie-banner .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
  }
}

/* ===== GRID SYSTEM ===== */
.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);
}

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

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .cookie-banner,
  .btn,
  .social-icons {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}