/* Ember Midnight Architecture Studio Theme */

:root {
  --primary-color: #D84315;
  --secondary-color: #1A237E;
  --dark-bg: #0a0a0a;
  --light-bg: #f8f9fa;
  --ember-glow: rgba(216, 67, 21, 0.3);
  --midnight-glow: rgba(26, 35, 126, 0.3);
  --text-light: #ffffff;
  --text-dark: #212529;
  --transition-speed: 0.3s;
}

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

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-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -1px;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Navbar Styling */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000428 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

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

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

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  color: var(--text-light) !important;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--ember-glow);
}

.navbar-toggler {
  border-color: var(--primary-color) !important;
  color: var(--text-light) !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, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

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

.diagonal-split {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(216, 67, 21, 0.1) 50%);
  z-index: 1;
}

.left-panel {
  z-index: 3;
  animation: slideInLeft 1s ease-out;
}

.left-panel .text-white {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.left-panel .display-3 {
  font-size: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.right-panel {
  z-index: 2;
  right: 0;
  max-width: 50%;
  animation: fadeIn 1.5s ease-out;
}

.right-panel img {
  filter: brightness(0.8) contrast(1.1);
  transition: transform var(--transition-speed) ease;
}

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

/* Floating CTA Cards */
.floating-cta-cards {
  position: relative;
  z-index: 4;
  animation: slideUp 1s ease-out 0.5s both;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  color: var(--text-light) !important;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px var(--ember-glow);
}

.glass-card .bi {
  color: var(--primary-color) !important;
  filter: drop-shadow(0 0 10px var(--ember-glow));
}

.glass-card .h5,
.glass-card .small {
  color: var(--text-light) !important;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: none;
  color: var(--text-light) !important;
}

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

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

.btn-primary,
.glass-card .btn {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  box-shadow: 0 4px 15px var(--ember-glow);
  color: var(--text-light) !important;
}

.btn-primary:hover,
.glass-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(216, 67, 21, 0.5);
  background: linear-gradient(135deg, #ff6f40, var(--primary-color)) !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px var(--midnight-glow);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(26, 35, 126, 0.5);
}

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

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !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(--text-light) !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;
}

/* Constellation Stats */
.constellation-stats {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  position: relative;
  overflow: hidden;
}

.constellation-stats::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(circle, rgba(216, 67, 21, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveStars 20s linear infinite;
}

.stat-circle {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 30px var(--ember-glow);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.stat-circle::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.stat-circle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 50px var(--ember-glow);
}

.circular-stat {
  z-index: 2;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.constellation-stats .text-white,
.constellation-stats .text-white-50 {
  color: var(--text-light) !important;
}

/* Service Cards */
.service-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px var(--ember-glow);
}

.service-card .bi {
  color: var(--primary-color) !important;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .bi {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 10px var(--ember-glow));
}

.service-card .h4 {
  color: var(--secondary-color) !important;
  font-weight: 700;
}

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

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

.timeline-content {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transition: all var(--transition-speed) ease;
  border-left: 4px solid var(--primary-color);
}

.timeline-content:hover {
  transform: translateX(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  border: 4px solid #ffffff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--ember-glow);
  z-index: 2;
}

.timeline-marker .bi {
  color: var(--text-light) !important;
  font-size: 1.5rem;
}

/* Orbital Container */
.orbital-container {
  min-height: 600px;
  position: relative;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  border-radius: 20px;
  overflow: hidden;
}

.central-mission {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px var(--ember-glow);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.central-mission .h4 {
  color: var(--text-light) !important;
  text-align: center;
  font-weight: 700;
}

.orbit-value {
  position: absolute;
  animation: orbit 20s linear infinite;
}

.orbit-value:nth-child(2) {
  animation-delay: -5s;
  top: 20%;
  left: 10%;
}

.orbit-value:nth-child(3) {
  animation-delay: -10s;
  top: 20%;
  right: 10%;
}

.orbit-value:nth-child(4) {
  animation-delay: -15s;
  bottom: 20%;
  left: 10%;
}

.orbit-value:nth-child(5) {
  animation-delay: -20s;
  bottom: 20%;
  right: 10%;
}

.value-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid var(--primary-color);
}

.value-card:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--ember-glow);
}

.value-card .bi {
  color: var(--primary-color) !important;
  font-size: 2rem;
}

/* Team Hexagon */
.team-hexagon-wrapper {
  position: relative;
  transition: all var(--transition-speed) ease;
}

.hexagon-frame {
  width: 200px;
  height: 220px;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  transition: all var(--transition-speed) ease;
}

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

.hexagon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(216, 67, 21, 0.8), rgba(26, 35, 126, 0.8));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.team-hexagon-wrapper:hover .hexagon-overlay {
  opacity: 1;
}

.team-hexagon-wrapper:hover .hexagon-frame {
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--ember-glow);
}

.hexagon-overlay .h5,
.hexagon-overlay .text-muted {
  color: var(--text-light) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Form Styling */
.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background: #ffffff;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem var(--ember-glow);
  background: #ffffff !important;
  color: var(--text-dark) !important;
}

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

.form-check-input {
  border: 2px solid var(--primary-color);
  width: 1.5em;
  height: 1.5em;
}

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

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

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #e9ecef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-dark) !important;
  transition: all var(--transition-speed) ease;
}

.step-number.active {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px var(--ember-glow);
  transform: scale(1.1);
}

.step-label {
  font-weight: 600;
  color: var(--text-dark) !important;
}

.step-label.active {
  color: var(--primary-color) !important;
}

/* Chatbot */
.chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.chat-window {
  width: 350px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
}

.chat-header {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB) !important;
  color: var(--text-light) !important;
  padding: 1rem;
  border-radius: 15px 15px 0 0;
}

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

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #f8f9fa;
  max-height: 350px;
}

.chat-body .d-inline-block {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  margin-bottom: 0.5rem;
}

.chat-body .text-start {
  background: #e9ecef;
  color: var(--text-dark) !important;
}

.chat-body .text-end {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  color: var(--text-light) !important;
}

.chat-footer {
  padding: 1rem;
  background: #ffffff;
  border-radius: 0 0 15px 15px;
}

.chat-footer .form-control {
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
}

.pulse-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--ember-glow);
  animation: pulse 2s infinite;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  color: var(--text-light) !important;
}

.pulse-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px var(--ember-glow);
}

.pulse-button .bi {
  color: var(--text-light) !important;
  font-size: 1.5rem;
}

.pulse-icon {
  animation: pulse 2s infinite;
}

/* Cards */
.card {
  border-radius: 15px;
  border: none;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.ember-card {
  background: linear-gradient(135deg, rgba(216, 67, 21, 0.1), rgba(26, 35, 126, 0.1));
  border: 2px solid var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.ember-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 15px 40px rgba(216, 67, 21, 0.3);
}

.job-card {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.job-card:hover {
  border-left-width: 8px;
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB) !important;
}

.bg-danger {
  background: #dc3545 !important;
}

.bg-light {
  background: #f8f9fa !important;
}

/* Accordion */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  border: none !important;
  padding: 1.25rem 1.5rem;
}

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

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

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

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

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

.alert-primary {
  background: rgba(216, 67, 21, 0.1);
  color: var(--primary-color) !important;
  border-left: 4px solid var(--primary-color);
}

.alert-secondary {
  background: rgba(26, 35, 126, 0.1);
  color: var(--secondary-color) !important;
  border-left: 4px solid var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

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

.breadcrumb-item.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--primary-color) !important;
}

.breadcrumb-item a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-color) !important;
}

/* Modal */
.modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB) !important;
  color: var(--text-light) !important;
  border: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: var(--text-light) !important;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border: none;
  padding: 1rem 2rem 2rem;
}

.btn-close-white {
  filter: brightness(0) invert(1);
}

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

.carousel-item img {
  height: 400px;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background: linear-gradient(90deg, rgba(0,0,0,0.5), transparent);
}

.carousel-control-next {
  background: linear-gradient(-90deg, rgba(0,0,0,0.5), transparent);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.industry-card-wrapper {
  perspective: 1000px;
  height: 300px;
}

.industry-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.industry-card-wrapper:hover .industry-card {
  transform: rotateY(180deg);
}

.industry-card-front,
.industry-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.industry-card-front {
  background: linear-gradient(135deg, var(--secondary-color), #3949AB);
  color: var(--text-light) !important;
}

.industry-card-back {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40);
  transform: rotateY(180deg);
  color: var(--text-light) !important;
}

.industry-icon,
.ember-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-light) !important;
}

.industry-card-front .h4,
.industry-card-back .h5 {
  color: var(--text-light) !important;
  font-weight: 700;
}

/* Filter Tags */
.filter-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  background: var(--light-bg);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  color: var(--primary-color) !important;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.filter-tag:hover,
.filter-tag.active {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--ember-glow);
}

/* Starfield Background */
.starfield-bg {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  position: relative;
  overflow: hidden;
}

.starfield-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent);
  background-size: 200% 200%;
  animation: twinkle 5s ease-in-out infinite;
  opacity: 0.5;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000428 100%) !important;
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
}

footer .h5,
footer .h6 {
  color: var(--text-light) !important;
  font-weight: 700;
}

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

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

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

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 15px var(--ember-glow);
}

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

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

.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-link {
  position: relative;
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.hover-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

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

.hover-link:hover::after {
  width: 100%;
}

/* Quick View Button */
.quick-view-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), #ff6f40) !important;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px var(--ember-glow);
}

.card:hover .quick-view-btn,
.ember-card:hover .quick-view-btn,
.job-card:hover .quick-view-btn {
  opacity: 1;
  transform: scale(1);
}

.quick-view-btn .bi {
  color: var(--text-light) !important;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--ember-glow);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--ember-glow);
  }
}

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

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

@keyframes moveStars {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50%, -50%);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .orbital-container {
    min-height: 500px;
  }
  
  .orbit-value {
    animation: none;
    position: relative !important;
    margin: 1rem;
  }
  
  .central-mission {
    position: relative !important;
    transform: none !important;
    margin: 2rem auto;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .right-panel {
    max-width: 100%;
    position: relative !important;
    margin-top: 2rem;
  }
  
  .left-panel {
    position: relative !important;
    padding: 2rem !important;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .stat-circle {
    width: 150px;
    height: 150px;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  .chat-window {
    width: 300px;
  }
  
  .chatbot-container {
    bottom: 1rem;
    right: 1rem;
  }
  
  .pulse-button {
    width: 50px;
    height: 50px;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-card-wrapper {
    height: 250px;
  }
}

@media (max-width: 575.98px) {
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
  }
  
  .glass-card {
    padding: 1.5rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

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

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Print Styles */
@media print {
  .navbar,
  .chatbot-container,
  .floating-cta-cards {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}