.content {
  flex: 1 0 auto;
}
.hero-content {
  min-width: 100vh;
}
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: start;
}
.overlay-text {
  color: #fff;
  text-align: center;
  padding: 20px;
  z-index: 2;
}
.support-container {
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.contact-us-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.contact-us-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.contact-us-button:active {
  transform: translateY(0);
}
.hero__scroll-btn {
  z-index: 1;
  color: #d9d9d9;
  display: flex;
  margin-bottom: 8px;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.hero__scroll-btn:hover {
  color: #d9d9d9;
  opacity: 0.8;
  transform: scale(1.01);
}
.hero__scroll-btn i {
  animation: bounce-vertical 1.5s ease-in-out infinite;
}
@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
.contact-text {
  color: var(--accent-color);
}
@keyframes bounce-vertical {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.selected {
  background: #555 !important;
}
.features-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
@media screen and (min-width: 1000px) {
  .features-container {
    justify-content: center;
  }
}
.features-container::-webkit-scrollbar {
  height: 6px;
}
.features-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.features-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}
.feature-icon {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
}

.carousel-control-prev {
  transform: translateX(-60%);
  border-radius: 5px 0 0 5px;
}
.carousel-control-prev-icon {
  filter: invert(1);
  transition: transform 0.2s ease;
}
.carousel-control-prev:hover .carousel-control-prev-icon {
  transform: scale(1.1);
}
.carousel-control-next {
  transform: translateX(60%);
  border-radius: 0 5px 5px 0;
}
.carousel-control-next-icon {
  filter: invert(1);
  transition: transform 0.2s ease;
}
.carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.1);
}
@media (max-width: 991px) {
  .carousel-control-prev {
    transform: translateX(0);
    background: rgba(0, 0, 0, 0.3);
  }
  .carousel-control-next-icon {
    filter: none !important;
  }
  .carousel-control-prev-icon {
    filter: none !important;
  }
  .carousel-control-next {
    transform: translateX(0);
    background: rgba(0, 0, 0, 0.3);
  }
  .product-text {
    width: 100%;
    padding: 0 10px;
    margin-top: 1rem;
  }
}
.autodesk-container {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0,
    rgba(193, 193, 193, 1) 100%
  );
  border-radius: 20px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.autodesk-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.autodesk-button {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}
.product-container {
  width: 80%;
  padding: 0;
}
.navpop {
  transform: translateY(-100%);
  transition: transform 0.8s ease-in-out;
}

/* Class added when user scrolls */
.navpop.show {
  transform: translateY(0);
}
button.nav-link.active {
  color: red !important;
  border-bottom: 1px solid red !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: 0 0 !important;
}
button.nav-link {
  color: #000 !important;
  border: none !important;
}
.nav.nav-tabs {
  border-color: #bbb !important;
}
.product-image {
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.product-header {
  margin: 0 auto;
}
.autocad-button {
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(86, 86, 86, 1) 0,
    rgba(0, 0, 0, 1) 100%
  );
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
  width: fit-content;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(0.85);
  transform-origin: center center;
  margin-bottom: 10px;
}
.autocad-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #727272 0, rgba(0, 0, 0, 1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.autocad-button:hover::before {
  opacity: 1;
}
.autocad-text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  margin-right: 10px;
  white-space: nowrap;
  z-index: 2;
  padding-left: 10px;
}
.text-t {
  font-weight: 300;
  font-size: 14px;
  color: #d9d9d9;
  margin: 0 0 -3px 0;
  transition: color 0.3s ease;
}
.text-b {
  font-weight: 700;
  font-size: 16px;
  color: #d9d9d9;
  margin: 0;
  transition: color 0.3s ease;
}
.autocad-button:hover .text-b,
.autocad-button:hover .text-t {
  color: whiteb;
}
.autocad-icon {
  height: 42px;
  width: auto;
  z-index: 2;
}
.product-text {
  width: 100%;
  margin: 0;
  padding: 0 15px;
  max-width: 100%;
  flex: 1;
}
@media (max-width: 480px) {
  .text-t {
    font-size: 12px;
  }
  .text-b {
    font-size: 14px;
  }
  .autocad-icon {
    height: 35px;
  }
  .autocad-button {
    padding: 8px 16px;
    transform: scale(1);
    margin-top: 10px;
  }
  .product-text {
    font-size: 15px !important;
  }
  .product-text p {
    font-size: 14px !important;
  }
  /* Removed support section font scaling */
  .support-section {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }
  .support-section h2 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }
  .support-section p {
    font-size: 14px !important;
  }
  .support-section .lead {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }
  .support-section .divider-text {
    font-size: 14px !important;
  }
  .discord-button {
    font-size: 14px !important;
  }
  /* End support section */
  .ex-logo {
    transform: scale(0.9);
  }
  .ex-subheader {
    font-size: 15px !important;
  }
  .footer p {
    font-size: 12px !important;
    white-space: nowrap;
    margin-bottom: 0 !important;
  }
  .footer .text-hl {
    font-size: 12px !important;
  }
  .footer .list-inline-item a {
    font-size: 12px !important;
  }
  .hero__scroll-btn {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    margin-bottom: 15px;
  }
  .hero__scroll-btn .scroll-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
  }
  .hero__scroll-btn i {
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .product-text {
    width: 100%;
    font-size: 13px !important;
  }
  .product-text p {
    font-size: 13px !important;
  }
  /* Removed support section font scaling */
  .support-section {
    padding: 15px !important;
    margin-bottom: 8px !important;
  }
  .support-section h2 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .support-section p {
    font-size: 13px !important;
  }
  .support-section .lead {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }
  .support-section .divider-text {
    font-size: 13px !important;
  }
  .discord-button {
    font-size: 13px !important;
    padding: 10px 20px !important;
  }
  /* End support section */
  .ex-subheader {
    font-size: 13px !important;
    min-width: 240px;
  } 
}

@media (max-width: 360px) {
  .product-text {
    width: 100%;
    font-size: 14px !important;
  }
  .product-text p {
    font-size: 14px !important;
  }
  /* Removed support section font scaling */
  .support-section {
    padding: 12px !important;
    margin-bottom: 8px !important;
  }
  .support-section h2 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }
  .support-section p {
    font-size: 12px !important;
  }
  .support-section .lead {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }
  .support-section .divider-text {
    font-size: 12px !important;
  }
  .discord-button {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }
  .discord-icon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
  }
  /* End support section */
  .autocad-button {
    transform: scale(0.8);
  }
  .ex-subheader {
    font-size: 11px !important;
    min-width: 220px;
  } 
}

@media (max-width: 280px) {
  .product-text {
    width: 100%;
    min-width: unset;
  }
  /* Removed support section font scaling */
  .support-section {
    padding: 8px !important;
    margin-bottom: 8px !important;
  }
  .support-section h2 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .support-section p {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }
  .support-section .lead {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }
  .support-section .divider {
    margin: 10px 0 !important;
  }
  .support-section .divider-text {
    font-size: 11px !important;
    margin: 0 8px !important;
  }
  .discord-button {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
  .discord-icon {
    width: 18px !important;
    height: 18px !important;
    margin-right: 6px !important;
  }
  /* End support section */
}

@media (max-width: 443px) {
  .ex-subheader {
    font-size: 15px !important;
  }
}
@media (max-width: 768px) {
  .features-container {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .ex-logo {
    transform: scale(1.2);
  }
  .support-section {
    margin-top: 1rem !important;
  }
  .ex-subheader {
    font-size: 17px !important;
    min-width: 300px;
  }  
  .footer .row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
  }
  .footer .col-md-6 {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin-bottom: 0 !important;
    padding: 0 5px !important;
  }
  .footer p {
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 0;
  }
  .footer .text-hl {
    font-size: 14px;
  }
  .footer .list-inline-item a {
    font-size: 14px;
  }
}
.accordion-button {
  outline: 0 !important;
  box-shadow: none !important;
}
.accordion-button[aria-expanded="true"] {
  background: linear-gradient(
    180deg,
    rgba(86, 86, 86, 1) 0,
    rgba(0, 0, 0, 1) 100%
  );
  color: #fff !important;
}
.accordion-button[aria-expanded="true"]::after {
  filter: brightness(0) invert(1) !important;
}

/* Adding responsive styling for accordion elements */
@media (max-width: 480px) {
  .accordion-button {
    font-size: 15px !important;
    padding: 12px 16px !important;
  }
  .accordion-body {
    font-size: 14px !important;
    padding: 15px !important;
  }
  .accordion-body p {
    font-size: 14px !important;
    margin-bottom: 10px !important;
  }
}

.full-screen-wrapper img.product-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.full-screen-wrapper {
  text-decoration: none;
  display: block;
}

.products-header {
  margin-top: 120px !important;
}

.full-screen-wrapper .full-screen-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    z-index: 10;
}

.ex-subheader {
  font-size: 22px;
}

.ex-logo {
  transform: scale(1.4);
}

.full-screen-button i {
    color: #d9d9d9;
}
.full-screen-button i:hover {
    color: white;
}
#imageModal {
  background-color: rgba(23, 23, 23, 0.6) !important;
}
#imageModal .modal-content {
  background-color: transparent;
  border: none;
}
#imageModal .modal-header {
  border-bottom: none;
}
#imageModal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}
.close {
  padding: 10px 30px;
  border: 1px solid #d9d9d9;
  background: 0 0;
  border-radius: 10px;
  color: #d9d9d9;
}
.close:hover {
  color: #fff;
}

.simplyEx {
  border-radius: 10px;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 40%, #f1f1f1 100%);
  transition: opacity 1s ease-in-out;
  margin: 3rem 0 0 0;
  padding: 0.5rem;
}

.animate-hero {
  transform: translateY(100vh);
  opacity: 0;
  transition: transform 1.5s ease-out, opacity 1.5s ease-in;
}

.opacity-hero {
  opacity: 0;
  transition: opacity 2s ease-in;
}
.opacity-animated {
  opacity: 1;
}
.animated {
  transform: translateY(0);
  opacity: 1;
}

.support-section {
  padding: 25px;
  margin-bottom: 25px;
}

.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #5865F2;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  text-decoration: none;
}

.discord-button:hover {
  background-color: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(88, 101, 242, 0.3);
}

.discord-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.discord-icon path {
  fill: white;
}

.divider {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.divider-line {
  flex-grow: 1;
  height: 1px;
  background-color: #b2b3b4;
}

.divider-text {
  margin: 0 15px;
  font-weight: 700;
  color: #6c757d;
}

.contact-link {
  color: #5865F2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-link:hover {
  color: #4752c4;
  text-decoration: underline;
}

/* Mobile optimizations for hero section */
@media (max-width: 768px) {
  .video-overlay .d-flex.h-100.flex-column {
    justify-content: space-between;
  }
  
  .video-overlay .d-flex.h-100.flex-column .opacity-hero {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }
  
  .video-overlay .d-flex.h-100.flex-column {
    padding-bottom: 50px;
  }
  
  .opacity-hero {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
  }
}

::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #171717;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}