/* ByteFLASH Custom Styles - Red & Black Theme */

:root {
  --byteflash-red: #e60000;
  --byteflash-dark-red: #c30000;
  --byteflash-green: #2ea64a; /* New green color for economy pages */
  --byteflash-dark-green: #237a37; /* Darker green for hover states */
  --byteflash-black: #000000;
  --byteflash-dark-grey: #212529;
  --byteflash-medium-grey: #343a40;
  --byteflash-light-grey: #adb5bd;
  --byteflash-white: #ffffff;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  padding-top: 120px; /* Increased padding to account for the taller fixed navbar */
}

/* Navbar Styles */
.navbar {
  background-color: var(--byteflash-white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed; /* Make navbar fixed */
  top: 0; /* Position at the top */
  width: 100%; /* Full width */
  z-index: 1030; /* High z-index to keep above content */
}

.contact-bar {
  background-color: var(--byteflash-black);
  color: var(--byteflash-white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1031; /* Higher than navbar */
  height: 40px; /* Explicitly set height to avoid gaps */
}

.navbar {
  background-color: var(--byteflash-white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed; /* Make navbar fixed */
  top: 40px; /* Position directly below contact bar */
  width: 100%; /* Full width */
  z-index: 1030; /* High z-index to keep above content */
  display: flex;
  align-items: center;
}

/* Updated navbar-brand for responsive logo size */
.navbar-brand img {
  max-height: 42px;
  width: auto;
  display: block; /* Ensures proper vertical alignment */
  margin: 0 auto;
}

.navbar .nav-link {
  color: var(--byteflash-black);
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar .nav-link:hover, 
.navbar .nav-link:active,
.navbar .nav-link.active {
  color: var(--byteflash-red);
}

/* Updated dropdown menu styles to be lighter */
.dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 0.5rem;
  background-color: #f8f9fa; /* Light background for all dropdowns */
}

.dropdown-item {
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  color: var(--byteflash-dark-grey);
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: #e9ecef; /* Slightly darker on hover */
  color: var(--byteflash-red);
}

/* Mega Menu - Updated to match other dropdowns */
.mega-menu {
  width: 600px;
  padding: 1.5rem;
  background-color: #f8f9fa; /* Same as other dropdowns */
  position: absolute;
}

.mega-menu-title {
  color: var(--byteflash-red);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--byteflash-red);
  padding-bottom: 0.5rem;
}

.mega-menu a {
  color: var(--byteflash-dark-grey); /* Dark text for contrast */
  text-decoration: none;
  padding: 0.3rem 0;
  display: block;
  transition: all 0.2s ease;
}

.mega-menu a:hover {
  color: var(--byteflash-red);
  transform: translateX(5px);
}

.mega-menu a::before {
  content: '›';
  margin-right: 5px;
  color: var(--byteflash-red);
}

.contact-bar a {
  color: var(--byteflash-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-bar a:hover {
  color: var(--byteflash-red);
}

.social-icons a {
  color: var(--byteflash-white);
  margin-left: 1rem;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  background-image: url('../images/homepage.png');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Bespoke Section */
.bespoke-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.bespoke-line {
  height: 1px;
  width: 80px;
  background-color: var(--byteflash-white);
  margin: 0 15px;
}

.bespoke-text {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 1.25rem;
  display: inline-block;
}

.automotive-software {
  color: var(--byteflash-white);
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.slogan {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--byteflash-red);
  border-color: var(--byteflash-red);
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--byteflash-dark-red) !important;
  border-color: var(--byteflash-dark-red) !important;
  transform: translateY(-2px);
}

/* Green Theme Button */
.btn-primary.btn-green {
  background-color: var(--byteflash-green);
  border-color: var(--byteflash-green);
}

.btn-primary.btn-green:hover, 
.btn-primary.btn-green:focus,
.btn-primary.btn-green:active {
  background-color: var(--byteflash-dark-green) !important;
  border-color: var(--byteflash-dark-green) !important;
}

.btn-outline-light {
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.btn-outline-light:hover {
  color: var(--byteflash-red);
  background-color: var(--byteflash-white);
  border-color: var(--byteflash-white);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

.card-body i {
  color: var(--byteflash-red);
  margin-bottom: 1.5rem;
}

/* Green Theme Cards */
.theme-green .card-body i {
  color: var(--byteflash-green);
}

.card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Footer Styles */
footer {
  background-color: var(--byteflash-black);
  color: var(--byteflash-white);
  padding-top: 3rem;
}

.footer-col h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--byteflash-red);
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--byteflash-light-grey);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--byteflash-red);
  padding-left: 5px;
}

.contact-info {
  color: var(--byteflash-light-grey);
  margin-top: 1.5rem;
}

.contact-info a {
  color: var(--byteflash-red);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

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

.social-links a:hover {
  background-color: var(--byteflash-red);
  transform: translateY(-3px);
}

.copyright {
  background-color: #111;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .mega-menu {
    width: 100%;
  }
  
  .automotive-software {
    font-size: 2.5rem;
  }
  
  .bespoke-text {
    font-size: 1rem;
  }

  body {
    padding-top: 110px; /* Adjust padding for smaller screens */
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 35px; /* Smaller on mobile */
  }
  
  body {
    padding-top: 100px; /* Further adjust padding for mobile */
  }
  
  .navbar {
    padding: 0.8rem 0; /* Slightly smaller padding on mobile but still balanced */
  }
  
  /* Fix for menu button appearing below logo */
  .navbar-toggler {
    padding: 0.25rem 0.5rem; /* Smaller padding */
    font-size: 1rem; /* Smaller font size */
    margin-left: auto; /* Push to right side */
    border: none; /* Remove border for cleaner look */
  }
  
  .navbar > .container,
.navbar > .container-fluid {
  display: flex;
  align-items: center;
  min-height: 60px; /* Enforce a minimum height */
}
  
  /* Mobile menu fix - START */
  /* Make the navbar collapse scrollable on mobile */
  .navbar-collapse {
    position: fixed;
    top: 110px; /* Increased position to move down from navbar */
    left: 0;
    right: 0;
    background-color: var(--byteflash-white);
    z-index: 1000;
    max-height: calc(100vh - 110px); /* Adjusted height to match new top position */
    overflow-y: auto; /* Enable scrolling */
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-top: 15px; /* Increased padding at the top to avoid overlap */
    padding-bottom: 80px; /* Significantly increased padding at the bottom to ensure last items are fully visible */
  }
  
  /* Fix for hamburger menu getting overlapped */
  .navbar-toggler {
    position: relative;
    z-index: 1001; /* Higher than the navbar-collapse */
    margin-bottom: 10px; /* Add some space below */
  }
  
  /* Prevent body scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Simple dropdown menu fixes for mobile - maintain dropdown behavior */
  @media (max-width: 992px) {
    .navbar-collapse .dropdown-menu {
      position: static !important;
      float: none !important;
      width: 100% !important;
      background-color: #f8f9fa !important;
      border: none !important;
      box-shadow: none !important;
      padding: 0.5rem !important;
    }
    
    /* Allow overflow to be visible in all dropdown menus */
    .navbar-collapse .dropdown-menu,
    .navbar-collapse .mega-menu {
      max-height: none !important;
      overflow-y: visible !important;
    }
  }
  /* Mobile menu fix - END */
  
  /* Mobile navigation links */
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .automotive-software {
    font-size: 2rem;
  }
}

/* Custom dropdown animation */
.dropdown-menu.show {
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Additional CSS for Content Templates */
/* These styles can be added to your existing byteflash-styles.css file */

/* Page Header Styles */
.page-header {
  background-color: var(--byteflash-black);
  color: var(--byteflash-white);
  padding: 4.5rem 0; /* Increased padding by 50% from 3rem to 4.5rem */
  position: relative;
  margin-bottom: 2rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 220px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--byteflash-red);
  z-index: 2;
}

/* Green Theme Page Header */
.theme-green .page-header::after {
  background-color: var(--byteflash-green);
}

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

.page-header h1 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}


/* Content Section Styles */
.content-section {
  padding: 3rem 0;
}

.content-block h2 {
  color: var(--byteflash-dark-grey);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.content-block h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--byteflash-red);
}

/* Green Theme Headings */
.theme-green .content-block h2:after {
  background-color: var(--byteflash-green);
}

.content-block h3 {
  color: var(--byteflash-dark-grey);
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-block p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content-block ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.content-block ul li:before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--byteflash-red);
}

/* Green Theme List Item Icons */
.theme-green .content-block ul li:before {
  color: var(--byteflash-green);
}

.content-image {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

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

/* CTA Block Styles */
.cta-block {
  background-color: #f8f9fa;
  border-left: 4px solid var(--byteflash-red);
  padding: 2rem;
  margin: 2rem 0;
}

/* Green Theme CTA Block */
.theme-green .cta-block {
  border-left: 4px solid var(--byteflash-green);
}

.cta-block h3 {
  color: var(--byteflash-dark-grey);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-block p {
  margin-bottom: 1.5rem;
}

/* Sidebar Styles */
.sidebar-widget {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.widget-header {
  background-color: var(--byteflash-black);
  color: var(--byteflash-white);
  padding: 1rem 1.5rem;
  position: relative;
}

.widget-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.widget-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--byteflash-red);
}

/* Green Theme Widget Header */
.theme-green .widget-header::after {
  background-color: var(--byteflash-green);
}

.widget-body {
  padding: 1.5rem;
}

/* Service List Widget */
.service-list li {
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li a {
  color: var(--byteflash-dark-grey);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.service-list li a:hover {
  color: var(--byteflash-red);
  padding-left: 5px;
}

/* Green Theme Service List */
.theme-green .service-list li a:hover {
  color: var(--byteflash-green);
}

.service-list li a i {
  margin-right: 0.5rem;
  color: var(--byteflash-red);
}

/* Green Theme Service List Icons */
.theme-green .service-list li a i {
  color: var(--byteflash-green);
}

/* Contact Info Widget */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--byteflash-red);
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

/* Green Theme Contact Item Icons */
.theme-green .contact-item i {
  color: var(--byteflash-green);
}

.contact-item a {
  color: var(--byteflash-dark-grey);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--byteflash-red);
}

/* Green Theme Contact Item Hover */
.theme-green .contact-item a:hover {
  color: var(--byteflash-green);
}

/* Featured Product */
.featured-product {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.featured-product:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.featured-product h5 {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.featured-product p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .sidebar-widget {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 0; /* Remove padding and control spacing with min-height instead */
    min-height: 220px; /* Increased minimum height to ensure proper spacing */
    display: flex;
    align-items: center; /* Center content vertically */
  }
  
  .page-header .container {
    padding-top: 15px;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .content-block h2 {
    font-size: 1.75rem;
  }
  
  .content-block h3 {
    font-size: 1.5rem;
  }
}

/* CTA Blocks */
.cta-block {
  transition: all 0.3s ease;
  border-left: 4px solid var(--byteflash-red);
  background-color: var(--byteflash-white);
}

/* Green Theme CTA Block */
.theme-green .cta-block {
  border-left: 4px solid var(--byteflash-green);
}

.cta-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.cta-block h3 {
  color: var(--byteflash-dark-grey);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.cta-block p {
  color: var(--byteflash-medium-grey);
  margin-bottom: 1.5rem;
}

.cta-block .btn {
  min-width: 180px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cta-block h3 {
    font-size: 1.3rem;
  }
}



.content-title {
  color: var(--byteflash-white);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.content-subtitle {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .content-title {
  font-size: 1.8rem;
  }
  
  .content-subtitle {
  font-size: 1rem;
  }
}


/* ByteFLASH Custom Accordion Styles */

/* Accordion container */
.accordion {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Accordion items */
.accordion-item {
  border: 2px solid transparent;
  margin-bottom: 5px;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Accordion headers */
.accordion-header {
  background-color: #f8f9fa;
  border-radius: 6px;
}

/* Accordion buttons */
.accordion-button {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--byteflash-black);
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  border-radius: 6px !important;
}

.accordion-button:not(.collapsed) {
  color: var(--byteflash-white);
  background-color: var(--byteflash-red);
  box-shadow: none;
  border-radius: 4px 4px 0 0 !important;
}

/* Green Theme Accordion Button */
.theme-green .accordion-button:not(.collapsed) {
  background-color: var(--byteflash-green);
}

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

/* Add hover effect */
.accordion-button:hover {
  background-color: var(--byteflash-red);
  color: var(--byteflash-white);
}

/* Green Theme Accordion Button Hover */
.theme-green .accordion-button:hover {
  background-color: var(--byteflash-green);
}

.accordion-button.collapsed:hover::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");
}

/* Accordion body styling */
.accordion-body {
  padding: 1.5rem;
  background-color: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  line-height: 1.6;
}


/* Vehicle Brand Cards */
.vehicle-brand-card {
  border: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

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

.vehicle-brand-card .card-header {
  background-color: var(--byteflash-black);
  color: var(--byteflash-white);
  border-bottom: 2px solid var(--byteflash-red);
  font-weight: 600;
  padding: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vehicle-brand-card .card-body {
  padding: 1.5rem 1rem;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-brand-card .brand-link {
  text-decoration: none;
  color: var(--byteflash-dark-grey);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-brand-card .brand-logo {
  max-width: 90px;
  max-height: 90px;
  transition: all 0.3s ease;
}

.vehicle-brand-card:hover .brand-logo {
  transform: scale(1.05);
}

.vehicle-brand-card .brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 500;
  color: var(--byteflash-dark-grey);
  transition: all 0.3s ease;
}

.vehicle-brand-card:hover .brand-name {
  color: var(--byteflash-red);
}

.vehicle-brand-card .brand-name i {
  margin-bottom: 0.5rem;
  color: var(--byteflash-red);
}

/* Responsive adjustments for vehicle brand cards */
@media (max-width: 576px) {
  .vehicle-brand-card .card-header {
    padding: 0.5rem;
  }
  
  .vehicle-brand-card .card-body {
    padding: 1rem 0.5rem;
    height: 100px;
  }
  
  .vehicle-brand-card .brand-logo {
    max-width: 70px;
    max-height: 70px;
  }
}

/* Model Card Styling */
.model-card {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #212529;
  text-decoration: none;
  height: 100px;
}

.model-card:hover {
  background-color: #e8041f;
  color: #ffffff;
  border-color: #e8041f;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.model-card .fas {
  font-size: 1.5rem;
  display: block;
  color: #e8041f;
  transition: all 0.3s ease;
}

.model-card:hover .fas {
  color: #ffffff;
}

.model-name {
  font-weight: 500;
}

.header-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-display {
  display: flex;
  align-items: center;
}

.brand-logo-large {
  max-width: 80px;
  height: auto;
}

/* Back button styling */
.btn-outline-primary {
  color: #e8041f;
  border-color: #e8041f;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #e8041f;
  border-color: #e8041f;
}

