/* Global Styles */
body {
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/*i {
    font-size: 25px;
    vertical-align: bottom;
    padding-right: 5px;
    margin: 0 10px;
}*/

.hero-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    background-color: #ffffff;
}

.product-wrapper {
    margin-top: 60px;
}

.hero-desc {
    align-self: center;
    padding: 0 100px;
    color: #12344d;
}

.hero-desc h2 {
    font-size: 70px;
    font-weight: bold;
    margin-bottom: -10px;
}

.hero-desc p {
    margin-bottom: 0;
    font-size: 20px;
}

.hero-bg img {
    width: 100%;
}

.spacer40 {
  margin-top: 40px;
}

span#text-cover {
    color: #ff735c;
}

.product-grid {
    display: flex;
    text-align: center;
    color: #fff;
    grid-gap: 2%;
    flex-wrap: wrap;
}

.video-caption.top-caption {
    position: absolute;
    margin-top: -15px;
    z-index: 1;
    border-radius: 0;
    /* font-size: 20px; */
    margin-left: 20px;
}

.video-caption.top-caption.backoffice {
  background-color: #3A59D1;
}

.video-caption.top-caption.sap {
  background-color: #328E6E;
}

.video-caption.top-caption.others {
  background-color: #FEBA17;
}

.video-caption.top-caption h4 {
    font-size: 14px;
    margin: 0;
}

.hero-desc button:hover {
    background-color: #ff735c;
}

.product-box button:hover {
  background-color: #fff;
  color: #12344d;
  font-weight: bold;
}

.product-box button p {
    margin: 0;
    transform: skew(0deg, 358deg);
    text-shadow: 1px 2px 3px #959595;
}

.video-wrapper {
      max-width: 800px;
      margin: 0 auto;
      flex:1 0 30%;
    }

.video-container {
    position: relative;
    width: 100%;
    /* padding-bottom: 17%; */
    height: 25vh;
    overflow: hidden;
    border: 3px solid #12344d;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
}

    .video-container video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .video-caption a {
    color: #fff;
}

    .video-caption {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    /*border-top-left-radius: 0;
    border-top-right-radius: 0;*/
    /* color: #fff; */
    font-size: 20px;
}

.video-caption i {
    font-size: 37px;
    /* padding: 0 30px; */
    /* padding-right: 26px; */
    color: #12344d;
}

.video-caption.download-link {
    border: 3px solid #12344d;
    padding: 0;
    background-color: #fff;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.video-caption.download-link a {
    color: #12344d;
    text-decoration: none;
    font-weight:bold;
    font-size: 23px;
/*    text-shadow: 1px 2px 3px #959595;*/
    /* padding: 0; */
}

.product-box {
    background-color: #12344d;
    color: #fff;
    border-radius: 10px;
    flex: 1;
/*    border: 3px solid #12344d;*/
}

.product-box h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0px;
    text-transform: uppercase;
}

.product-info i {
    font-size: 60px;
}

.product-box h4 {
    font-size: 18px;
    margin-bottom: 30px;
}

.product-info {
    padding: 10%;
    padding-bottom: 0;
    height: 25vh;
}

.product-box button {
    width: 100%;
    background-color: #fff;
    color: #12344d;
    border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 20px;
    font-size: 20px;
/*    transform: skew(355deg, 357deg);*/
    transform: skew(-2deg, 2deg);
    position: relative;
    left: 10px; /*10px*/
    top: -6px; /*-6px*/
}

.video-caption.download-link p {
    color: #12344d;
    margin: auto;
}

.tab-filter {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
      justify-content: center;
    }

    .tab-filter button {
      padding: 10px 20px;
      border: 1px solid #12344d;
      background-color: #f5f5f5;
      cursor: pointer;
      font-size: 16px;
      border-radius: 4px;
      color: #12344d;
    }

    .tab-filter button.active {
      background-color: #12344d;
      color: white;
      border-color: #12344d;
    }

    .content-item {
      display: none;
      margin-bottom: 10px;
      padding: 10px;
/*      border: 1px solid #eee;*/
      margin-bottom: 55px;
    }

    .content-item.show {
      display: block;
    }


.hero-desc button {
    background-color: #12344d;
    margin-top: 25px;
    border-radius: 4px;
    font-size: 20px;
    width: 35%;
}

nav.navbar.navbar-expand-lg.navbar-dark.px-3.fixed-top {
    background-color: #12344d !important;
}

.navbar-nav .nav-link {
  color: white;
  transition: color 0.3s ease;
  font-size: 18px;
}

.navbar-nav .nav-link:hover {
  color: #63b3ed;
}

.hero-banner {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 0;
}

.hero-banner h2 {
  z-index: 1;
}

/* Card Hover Effect */
.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #1a202c;
  color: white;
  padding: 20px;
}

footer a {
  color: #63b3ed;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
  color: white;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 72px;
  left: 0;
  height: calc(100% - 72px);
  width: 250px;
  background-color: #000000;
  color: white;
  padding-top: 20px;
  padding-left: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h4 {
  color: white;
  font-size: 1.5rem;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  margin: 15px 0;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar a:hover {
  background-color: #2d2d2d;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 20px;
  margin-top: 10px; /* Extra spacing to clear navbar */
}

.dashboard-header {
  background-color: #000000;
  color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  margin-top: 0;
}

/* Button Styles */
.btn-logout {
  background-color: #ff4d4d;
  border: none;
  color: white;
  cursor: pointer;
}

.btn-logout:hover {
  background-color: #ff1a1a;
}

/* Upload Form and Document List */
.upload-form,
.document-list {
  display: none;
  margin-top: 20px;
}

.file-input {
  margin-bottom: 10px;
}

.document-list table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.document-list table th,
.document-list table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.document-list table th {
  background-color: #f4f4f4;
}

.document-list table tr:hover {
  background-color: #f1f1f1;
}

.document-list table .btn-danger {
  background-color: #ff4d4d;
  color: white;
}

.document-list table .btn-danger:hover {
  background-color: #ff1a1a;
}

/* Solution Display */
#solutionBox {
  display: none;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

#solutionBox h2 {
  font-size: 1.75rem;
  color: #2b6cb0;
}

#solutionText {
  margin-top: 20px;
  list-style-type: disc;
  padding-left: 20px;
  color: #4a5568;
}

#solutionImages {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

#solutionImages img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

#solutionImages img:hover {
  transform: scale(1.05);
}

#imageModal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

#imageModal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

#imageModal .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ffffff;
  color: #000;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* Popup Modal */
#previewPopup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

#previewPopup iframe {
  width: 80%;
  height: 80%;
  border: none;
  border-radius: 8px;
}

/* Popup Button */
button {
  background-color: #3182ce;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2b6cb0;
}

/* Popup Close Button */
button.bg-red-500 {
  background-color: #f56565;
  color: white;
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
}

button.bg-red-500:hover {
  background-color: #e53e3e;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-banner {
    height: 40vh;
  }

  .sidebar {
    width: 200px;
  }

  .main-content {
    margin-left: 200px;
  }

  .document-list table th,
  .document-list table td {
    padding: 8px;
  }

  /* Standardizing Card Sizes */
.card {
  height: 100%; /* Ensures all cards stretch to the same height */
  display: flex;
  flex-direction: column;
}

.card-body {
  flex-grow: 1; /* Ensures the content of the card is evenly spaced */
}

.card-img-top {
  height: 200px; /* Set a consistent image height */
  object-fit: cover; /* Ensure the images scale correctly without distortion */
}

.card-title {
  font-size: 1.25rem;
}

.card-text {
  font-size: 1rem;
}

.card {
  max-height: 400px; /* Optional, if you want to set a max height for consistency */
}

@media (min-width: 1200px) {
  .card {
    height: 350px; /* Fixed height for large screens */
  }
}

  /* Responsive Sidebar */
@media (max-width: 768px) {
  .sidebar {
    width: 200px; /* Smaller width for mobile */
    margin-top: 80px; /* Ensure no overlap with header */
  }
  .main-content {
    margin-left: 200px; /* Adjust main content padding */
  }
}


.card-img-top {
  height: 200px; /* Set a consistent image height */
  object-fit: cover; /* Ensure the images scale correctly without distortion */
}

@media (max-width: 768px) {
  .card-img-top {
    height: 150px; /* Adjust image size for smaller screens */
  }
}

}

@media (max-width: 575px) {
  
}

@media (max-width: 767px) {
  
}

@media (min-width: 576px) {
  
}

@media (min-width: 768px) {
  
}

@media (min-width: 992px) {
  
}

@media (max-width: 1600px) {
  .hero-desc h2 {
    font-size: 45px;
}

.hero-desc button {
    width: 45%;
}
  
}

@media (max-width: 1300px) {
  .hero-desc h2 {
    font-size: 45px;
}

.hero-desc button {
    width: 50%;
}

.hero-desc p {
    margin-bottom: 0;
    font-size: 16px;
}

.product-info {
    height: 32vh;
}
  
}
