/* Main Styles */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --body-bg: #f8f9fa;
  --body-color: #212529;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--body-bg);
  color: var(--body-color);
}

/* Navigation */
.navbar-brand img {
  margin-right: 10px;
}

/* Hero Section with Background Video */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Video */
#hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

/* Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(248, 249, 250, 0.85) 25%,
    rgba(248, 249, 250, 0.7) 50%,
    rgba(248, 249, 250, 0.4) 75%,
    rgba(248, 249, 250, 0.2) 100%
  );
  z-index: -1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.hero-text h1 {
  margin-bottom: 20px;
  color: var(--dark-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.hero-text .lead {
  margin-bottom: 30px;
  font-size: 1.25rem;
  color: var(--dark-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-text .btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-text .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-text .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--dark-color);
  background-color: rgba(255, 255, 255, 0.9);
}

.hero-text .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
  color: var(--dark-color);
}

/* Modern Tech Elements */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-elements {
  position: relative;
  width: 300px;
  height: 300px;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(13, 110, 253, 0.3), rgba(13, 110, 253, 0.1));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
  width: 80px;
  height: 80px;
  top: 20px;
  left: 50px;
  animation-delay: 0s;
}

.floating-element.element-2 {
  width: 60px;
  height: 60px;
  top: 120px;
  right: 30px;
  animation-delay: 2s;
}

.floating-element.element-3 {
  width: 100px;
  height: 100px;
  bottom: 40px;
  left: 80px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text .lead {
    font-size: 1.1rem;
  }
  
  .hero-visual {
    height: 200px;
    margin-top: 2rem;
  }
  
  .tech-elements {
    width: 200px;
    height: 200px;
  }
  
  .floating-element.element-1 {
    width: 50px;
    height: 50px;
  }
  
  .floating-element.element-2 {
    width: 40px;
    height: 40px;
  }
  
  .floating-element.element-3 {
    width: 60px;
    height: 60px;
  }
}

/* Fallback for browsers that don't support video */
@media (prefers-reduced-motion: reduce) {
  #hero-background-video {
    display: none;
  }
  
  .hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }
  
  .floating-element {
    animation: none;
  }
}

/* Service Tiers Section */
.service-tiers {
  padding: 80px 0;
}

.tier-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
  overflow: hidden;
  height: 100%; /* Ensure all cards have the same height */
}

.tier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tier-featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.tier-featured:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Most Popular Badge - FIXED positioning */
.most-popular-badge {
  position: absolute;
  top: 10px;/* Position at the top of the container */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--warning-color);
  color: var(--dark-color);
  font-weight: bold;
  padding: 5px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
  width: auto;
  min-width: 120px; /* Ensure minimum width */
  height: auto;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
}

/* Tier Radio Most Popular Badge - specific styling for the tier selection */
.tier-radio .most-popular-badge {
  top: -10px; /* Position above the tier label */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3; /* Ensure it's above other elements */
}

/* Card header with badge needs extra padding */
.tier-featured .card-header {
  padding-top: 40px !important; /* Increased padding to accommodate badge */
  min-height: 100px; /* Ensure consistent height */
}

/* Ensure all card headers have consistent height */
.tier-card .card-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Materials Section */
.material-card {
  transition: transform 0.3s;
  border-radius: 10px;
  overflow: hidden;
}

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

.material-card img {
  height: 200px;
  object-fit: cover;
}

/* How It Works Section */
.process-step {
  padding: 20px;
}

.process-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonial-card {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.testimonial-rating {
  font-size: 1.2rem;
}

.testimonial-author {
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

/* New Project Form */
.page-header {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.progress-container {
  position: relative;
  margin-bottom: 30px;
}

.progress {
  height: 4px;
  background-color: #e9ecef;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: -14px;
}

.progress-step {
  text-align: center;
  position: relative;
  width: 25%;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  border: 2px solid #fff;
  transition: all 0.3s;
}

.progress-step.active .step-circle {
  background-color: var(--primary-color);
  color: white;
}

.step-label {
  font-size: 0.875rem;
  color: #6c757d;
  transition: all 0.3s;
}

.progress-step.active .step-label {
  color: var(--primary-color);
  font-weight: bold;
}

/* File Upload */
.dropzone {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  background-color: #f8f9fa;
  cursor: pointer; /* Add cursor pointer to indicate it's clickable */
}

.dropzone:hover {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}

.nav-link.active {
    background-color: #343a40 !important; /* Dark background for active nav items */
    color: white !important;
}

.dz-message {
  color: #6c757d;
}

/* Tier Selection */
.tier-radio {
  margin-bottom: 15px;
  position: relative; /* Added to ensure proper badge positioning */
}

.tier-label {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  width: 100%;
  transition: all 0.3s;
  cursor: pointer;
  position: relative; /* Added to ensure proper badge positioning */
}

.tier-label:hover {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}

.form-check-input:checked + .tier-label {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
}

.tier-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.tier-price {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.tier-description {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Review Section */
.review-section {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.review-section h5 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Admin Panel Styles */
.admin-sidebar {
  background-color: var(--dark-color);
  color: white;
  min-height: calc(100vh - 56px);
  padding-top: 20px;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 15px;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: all 0.3s;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
  margin-right: 10px;
}

.admin-content {
  padding: 20px;
}

.admin-card {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.admin-card .card-header {
  background-color: var(--light-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding: 15px 20px;
}

.admin-card .card-body {
  padding: 20px;
}

.status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-pending {
  background-color: var(--warning-color);
  color: var(--dark-color);
}

.status-processing {
  background-color: var(--info-color);
  color: var(--dark-color);
}

.status-completed {
  background-color: var(--success-color);
  color: white;
}

.status-cancelled {
  background-color: var(--danger-color);
  color: white;
}

.order-details-table th {
  width: 30%;
}

.file-download-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
}

.file-download-link:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

.file-download-link i {
  margin-right: 5px;
}

.admin-dashboard-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
}

.stat-icon.bg-primary {
  background-color: var(--primary-color);
  color: white;
}

.stat-icon.bg-success {
  background-color: var(--success-color);
  color: white;
}

.stat-icon.bg-warning {
  background-color: var(--warning-color);
  color: var(--dark-color);
}

.stat-icon.bg-info {
  background-color: var(--info-color);
  color: var(--dark-color);
}

.stat-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.stat-info p {
  margin-bottom: 0;
  color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0;
    text-align: center;
  }
  
  .hero-animation {
    height: 300px;
    margin-top: 30px;
  }
  
  .progress-step .step-label {
    font-size: 0.75rem;
  }
  
  .admin-sidebar {
    min-height: auto;
    margin-bottom: 20px;
  }
  
  .stat-card {
    min-width: 100%;
  }
}

/* Animation for page transitions */
.page-transition {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* Floating labels for form inputs */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-color);
}

/* Custom styling for buttons */
.btn {
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Custom styling for cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Custom styling for form controls */
.form-control, .form-select {
  border-radius: 5px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Loading spinner */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Avatar circle for profile page */
.avatar-circle {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.initials {
  font-size: 2rem;
  color: white;
  font-weight: bold;
}

/* 3D Model Viewer - ENHANCED for interactivity */
.model-viewer-container {
  width: 100%;
  height: 300px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative; /* Added for controls positioning */
}

.model-viewer {
  width: 100%;
  height: 100%;
}

/* Added viewer controls */
.viewer-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.viewer-control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ced4da;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.viewer-control-btn:hover {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.viewer-control-btn i {
  font-size: 1rem;
  color: var(--dark-color);
}

/* Viewer instructions overlay */
.viewer-instructions {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  color: var(--dark-color);
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.model-viewer-container:hover .viewer-instructions {
  opacity: 0.4;
}

/* Material tier assignment in admin panel */
.material-tier-assignment {
  margin-top: 20px;
}

.material-tier-assignment .form-check {
  margin-bottom: 10px;
}

/* Layer height pricing factor */
.layer-height-pricing {
  margin-top: 20px;
}

.layer-height-factor {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.layer-height-factor label {
  width: 100px;
  margin-bottom: 0;
}

.layer-height-factor input {
  width: 100px;
}

/* Material filtering by tier */
.material-filter-notice {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 5px;
  font-style: italic;
}

/* Popup message styling */
.popup-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: white;
  border-left: 4px solid var(--success-color);
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.popup-message.error {
  border-left-color: var(--danger-color);
}

.popup-message.warning {
  border-left-color: var(--warning-color);
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--secondary-color);
}


/* Video Performance Optimizations */
#hero-background-video {
  /* Optimize video rendering */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
  /* Improve video quality on high-DPI displays */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Loading state for video */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  z-index: -3;
}

/* Video loading indicator */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.video-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(13, 110, 253, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Mobile Optimizations */
@media (max-width: 576px) {
  .hero-section {
    height: 70vh;
    min-height: 450px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-text .lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-text .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  .hero-visual {
    display: none; /* Hide floating elements on very small screens */
  }
  
  /* Reduce video quality on mobile to improve performance */
  #hero-background-video {
    filter: blur(1px);
  }
}

/* Tablet optimizations */
@media (min-width: 577px) and (max-width: 991px) {
  .hero-section {
    height: 85vh;
    min-height: 550px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-visual {
    height: 250px;
  }
  
  .tech-elements {
    width: 250px;
    height: 250px;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  .hero-section {
    max-height: 900px;
  }
  
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .hero-text .lead {
    font-size: 1.4rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-text {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .floating-element {
    animation: none !important;
  }
  
  .hero-text .btn {
    transition: none;
  }
  
  .hero-text .btn:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(255, 255, 255, 0.7) 75%,
      rgba(255, 255, 255, 0.5) 100%
    );
  }
  
  .hero-text h1,
  .hero-text .lead {
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  }
}

/* Print styles */
@media print {
  .hero-section {
    height: auto;
    min-height: auto;
    padding: 2rem 0;
    background: white !important;
  }
  
  #hero-background-video,
  .hero-overlay,
  .floating-element {
    display: none !important;
  }
  
  .hero-text {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Focus styles for accessibility */
.hero-text .btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Optimize for touch devices */
@media (hover: none) and (pointer: coarse) {
  .hero-text .btn:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .tier-card:hover {
    transform: none;
  }
  
  .tier-featured:hover {
    transform: scale(1.05);
  }
}


/* Responsive Logo Styles */
.navbar-logo {
  height: auto;
  max-height: 45px;
  width: auto;
  max-width: 200px;
  transition: all 0.3s ease;
}

/* Mobile devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .navbar-logo {
    max-height: 35px;
    max-width: 150px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-logo {
    max-height: 40px;
    max-width: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-logo {
    max-height: 45px;
    max-width: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-logo {
    max-height: 50px;
    max-width: 220px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .navbar-logo {
    max-height: 55px;
    max-width: 250px;
  }
}

/* Ensure logo maintains aspect ratio */
.navbar-logo {
  object-fit: contain;
  display: block;
}

/* Remove margin from navbar-brand when using logo only */
.navbar-brand {
  margin-right: 0;
  padding: 0.5rem 0;
}



/* Footer Text and Link Visibility Fix */
footer {
  background-color: #212529 !important;
  color: #ffffff !important;
}

footer h5,
footer h6 {
  color: #ffffff !important;
}

footer p {
  color: #6c757d !important;
}

footer a {
  color: #6c757d !important;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

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

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

footer .social-links a {
  color: #ffffff !important;
}

footer .social-links a:hover {
  color: #0d6efd !important;
}

