/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #000000;
  --secondary-color: #ba0909;
  --section-bg-color: #ba0909;
  --custom-btn-bg-color: #ff8400;
  --custom-btn-bg-hover-color: #b30000;
  --dark-color: #000000;
  --p-color: #000000;
  --border-color: #c59f07;
  --link-hover-color: #b50c1a;

  --body-font-family: "Open Sans", sans-serif;
  --title-font-family: "Montserrat", sans-serif;

  --h1-font-size: 58px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --menu-font-size: 14px;
  --btn-font-size: 18px;
  --copyright-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}




/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 130px;
  padding-bottom: 40px;
}

.section-bg {
  background-image: linear-gradient(30deg, #b40f0f 0%, #feb501 90%);
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: linear-gradient(20deg, #ad0a0a 0%, #fcde00 90%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header2 {
  background-image: linear-gradient(90deg, #980d0d 0%, #ff7700 90%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-image: linear-gradient(20deg, #ffffff 0%, #e37500 90%);
}

.navbar {
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}
.navbar-nav {
  display: flex; /* Ensure flex behavior for alignment */
  margin-left: auto; /* Pushes the menu to the right */
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

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

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color:#e37500;
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

/* For large screens (desktops, laptops) */
@media screen and (min-width: 992px) {
  .navbar {
    background-image: linear-gradient(20deg, #ffffff 0%, #e37500 90%); /* Your gradient */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure navbar stays on top */
    width: 100%;
    transition: top 0.3s; /* Smooth transition for showing/hiding */
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
    display: block; /* Ensure the dropdown is visible on hover */
  }

  /* Hidden navbar when scrolling down */
  .navbar.hidden {
    top: -100px; /* Adjust this based on navbar height */
  }
}

/* For mobile screens (max-width: 992px) */
@media screen and (max-width: 992px) {
  .navbar {
    background-image: linear-gradient(20deg, #ffffff 0%, #e37500 90%); /* Your gradient */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure navbar stays on top */
    width: 100%;
    transition: top 0.3s; /* Smooth transition for showing/hiding */
  }

  .navbar .dropdown .dropdown-menu {
    opacity: 0;
    pointer-events: none;
    display: none; /* Hide the dropdown initially */
    transition: opacity 0.3s ease-in-out; /* Smooth transition */
  }

  .navbar .dropdown.show .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    display: block; /* Show the dropdown when 'show' class is added */
  }

  /* Make sure the dropdown menu is aligned with the navbar */
  .navbar-toggler {
    z-index: 1050; /* Ensure the hamburger button stays on top */
  }

  /* Ensure the dropdown remains aligned and inside the navbar */
  .navbar .dropdown-menu {
    position: absolute; /* Position dropdown inside the navbar */
    top: 100%; /* Align it below the dropdown button */
    left: 0;
    right: 0;
    background-color: white; /* Ensure visibility */
    display: none; /* Hide by default */
    z-index: 1040; /* Make sure dropdown appears above other navbar items */
  }
}

/* Hidden navbar on scroll down */
.navbar.hidden {
  top: -100px; /* Adjust this based on navbar height */
}


.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: var(--h5-font-size);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-image: linear-gradient(20deg, #ffffff 0%, #e37500 90%);
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

/*---------------------------------------
      TOPICS              
    -----------------------------------------*/
.featured-section {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
}

.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  height: 100%;
  transform: translateY(100px); /* Start below */
  opacity: 0; /* Hidden initially */
  animation: fadeInUp 1s ease-out forwards;
}

.custom-block:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Add shadow on hover */
}

/* Scroll effect animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px); /* Start from below */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* End at original position */
  }
}

/* Staggered animations */
.row .custom-block:nth-child(1) {
  animation-delay: 0.4s;
}

.row .custom-block:nth-child(2) {
  animation-delay: 0.4s;
}

.row .custom-block:nth-child(3) {
  animation-delay: 0.6s;
}

.row .custom-block:nth-child(4) {
  animation-delay: 0.8s;
}

.row .custom-block:nth-child(5) {
  animation-delay: 1s;
}

.row .custom-block:nth-child(6) {
  animation-delay: 1.2s;
}

.custom-block-image {
  display: block;
  width: 150%;
  height: 300px;
  object-fit: cover;
  margin-top: 35px;
  transition: transform 1s ease;
}

.custom-block:hover .custom-block-image {
  transform: scale(1.1); /* Zoom effect on hover */
}

.custom-block h5 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.25rem;
  transition: color 0.5s ease;
}

.custom-block:hover h5 {
  color: var(--secondary-color);
}

/* Background colors for specific blocks (can adjust per product type) */
.bg-design {
  background-color: #00b0ff;
}

.bg-graphic {
  background-color: #00bfa6;
}

.bg-advertising {
  background-color: #f50057;
}

.bg-finance {
  background-color: #536dfe;
}

.bg-music {
  background-color: #f9a826;
}

.bg-education {
  background-color: #00bfa6;
}

/*---------------------------------------
      TOPICS               
    -----------------------------------------*/

.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}

.topics-listing-page .site-header {
  padding-bottom: 65px;
}

.custom-block-topics-listing-info {
  margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
  height: inherit;
}

.custom-block-topics-listing .custom-block-image {
  width: 200px;
}

/*---------------------------------------
  PAGINATION              
-----------------------------------------*/
.pagination {
  margin-top: 40px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active > .page-link,
.page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/*---------------------------------------
  TIMELINE              
-----------------------------------------
.timeline-section {
  background-image: url("../images/Industry.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: var(--secondary-color);
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container
  .vertical-scrollable-timeline
  li.active
  .icon-holder::before {
  background-color: var(--primary-color);
}
*/

.image-box {
  position: relative;
  color: white;
  padding: 30px;
  z-index: 1; /* Keeps the content above the pseudo-element */
}

.image-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/abt.jpg");
  background-size: cover;
  background-position: center;
 
  z-index: -1; /* Place the background behind the content */
  opacity: 1; /* Ensure visibility of the image */
}
/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating > textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}

/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating > label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}
/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

body1 {
  margin: 0;
  font-family: Arial, sans-serif;
}

.footer {
  background-image: linear-gradient(#b40f0f 0%, #feb501 90%);
  color: white;
  padding: 20px;
}

.footer2 {
  background-color: #db8505;
  color: white;
  padding: 10px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  width: 48%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.footer-info {
  width: 48%;
}

.footer-info2 {
  margin-left: 100%;
  margin-bottom: 50%;
  margin-top: 40px;
}

.footer-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white; /* Ensures heading text is white */
}

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
  margin: 5px 0;
  color: white; /* Ensures paragraph text is white */
}

.footer-info a {
  color: white; /* Ensures links are white */
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
  color: white; /* Keeps links white on hover */
}

.footer-social {
  margin: 15px 0;
}

.footer-social a {
  font-size: 20px;
  color: white; /* Ensures social icon links are white */
  margin-right: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  color: white; /* Keeps social icons white on hover */
}

.footer-links {
  margin: 15px 0;
  font-size: 14px;
  color: white; /* Ensures footer links text is white */
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .navbar {
    background-color: transparent;
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing > .d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

.carousel {
  position: relative;
}
.carousel.pointer-event {
  touch-action: pan-y;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}
.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block;
}
.active.carousel-item-end,
.carousel-item-next:not(.carousel-item-start) {
  transform: translateX(100%);
}
.active.carousel-item-start,
.carousel-item-prev:not(.carousel-item-end) {
  transform: translateX(-100%);
}
.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end,
.carousel-fade .carousel-item.active {
  z-index: 1;
  opacity: 1;
}
.carousel-fade .active.carousel-item-end,
.carousel-fade .active.carousel-item-start {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-end,
  .carousel-fade .active.carousel-item-start {
    transition: none;
  }
}
.carousel-control-next,
.carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-control-next,
  .carousel-control-prev {
    transition: none;
  }
}
.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}
.carousel-control-prev {
  left: 0;
}
.carousel-control-next {
  right: 0;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  background-color: rgb(0, 0, 0);
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}
.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-indicators [data-bs-target] {
    transition: none;
  }
}
.carousel-indicators .active {
  opacity: 1;
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 2rem; /* Adjust font size as desired */
}
.carousel-dark .carousel-control-next-icon,
.carousel-dark .carousel-control-prev-icon {
  filter: invert(1) grayscale(100);
}
.carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #000;
}
.carousel-dark .carousel-caption {
  color: #000;
}

table {
  margin-top: 40px;
  font-family: Arial, sans-serif;
  border: 5px solid darkgoldenrod;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.red-header {
  background-color: #ff0000;
  color: white;
}

.main-header {
  background-color: rgb(255, 196, 0);
  color: white;
  align-items: center;
}

.mid-header {
  background-color: #f50057;
  color: white;
}



.my-list {
  list-style-type: disc;
  font-size: 12px;
  color: black;
  text-align: left;
}

.main-container {
  text-align: center;
}

.main-image {
  width: 60%;
  margin: 20px auto;
}

.text-content {
  text-align: justify;
  padding: 20px;
  font-family: Calibri;
  font-size: 14px;
  color: black;
  margin-left: 20px;
  margin-right: 20px;
}





/* Adjust logo height for tablet and mobile devices 
@media (max-width: 768px) {
  .logo-image {
    height: 110px;
  }
}*/

.gradient-box {
  background: linear-gradient(to right, #b5130f, #fcb101);
  padding: 20px;
  text-align: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 20px;
}

.gradient-box button {
  background-color: white;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gradient-box button:hover {
  background-color: #ff8903;
}







.margin-paragraph {
  margin-left: 20px;
  margin-right: 20px;
}



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

.product-image {
  width: 350px; 
  margin-right: 40px; 
}

.product-description {
  flex-grow: 1; 
}






















/* Default Desktop View */
.hexagon-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 hexagons in a row */
    gap: 20px; /* Spacing between hexagons */
    justify-content: center; /* Center-align on larger screens */
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
}

/* Hexagon styling for both views */
.industry {
    width: 250px; /* Default size for PC */
    aspect-ratio: 1; /* Maintain hexagonal shape */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.industry img {
    width: 100%; /* Fill the hexagon container */
    height: 100%;
    object-fit: cover;
}

/* Add gap to middle 2 SVGs in Desktop View */
.hexagon-container .industry:nth-child(2),
.hexagon-container .industry:nth-child(3) {
    margin-bottom: 20px; /* Add 20px margin below the middle two hexagons */
}

/* Apply translation for middle hexagons only in Desktop View */
@media (min-width: 769px) {
    .industry.middle {
        transform: translateY(15%); /* Slightly lower the middle hexagons */
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .hexagon-container {
        display: flex; /* Flexbox for vertical stacking */
        flex-direction: column; /* Single column layout */
        gap: 5px; /* Consistent 5px spacing between hexagons */
        align-items: center;
        padding: 10px;
    }

    .industry {
        width: auto; /* Adjust to fit container */
        max-width: 150px; /* Smaller size for mobile */
    }

    /* Remove margin adjustments for mobile */
    .hexagon-container .industry:nth-child(2),
    .hexagon-container .industry:nth-child(3) {
        margin-bottom: 0; /* No margin in mobile */
    }

    /* Remove transform for middle hexagons in mobile */
    .industry.middle {
        transform: none; /* Ensure no vertical translation in mobile */
    }
}





/* Container for the logo inside navbar */
.logo-container {
  position: relative;
  width: 150px; /* Adjust the width as needed */
  height: auto;
  margin-top: -50%;
  padding-left: -60px;
}

.logo-image {
  position: absolute;
  opacity: 0;
    transition: opacity 0.5s ease-in-out; 
  width: 100%;
  height: auto;
}

.logo-image1 {
  position: absolute;
  opacity: 1; /* Ensure the main logo is visible */
  transition: opacity 1s ease-in-out;
  width: 60%; /* Reduce the width to 60% of the container's width */
  height: auto; /* Keep the height proportional */
  max-height: 150px; /* Limit the height to make the logo smaller */
  margin-top: 23%;
  margin-left: 27px;
}

#main-logo {
  opacity: 1;  /* Initially show the main logo */
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .logo-container {
    width: 120px; /* Adjust width for mobile */
    margin-top: 0; /* Reset margin for mobile */
    padding-left: 0; /* Reset padding for mobile */
  }

  /* Adjustments for the first logo image */
  .logo-image1 {
    width: 50%; /* Reduce the width for mobile */
    margin-top: 0; /* Set margin-top to 0 to move it up */
    margin-left: 15px; /* Adjust left margin for better positioning */
    max-height: 100px; /* Adjust max height for mobile */
    transform: translateY(-30px); /* Move the logo up even more */
  }

  /* Adjustments for the second logo image (move it slightly down) */
  .logo-image {
    opacity: 1;  /* Show the text logo */
    width: 100%; /* Ensure the text logo takes up the full width */
    max-height: 100px; /* Limit the height to fit on mobile */
    margin-top: -37px; /* Move the text logo slightly down */
    transform: translateY(-10px); /* Move the text logo slightly down */
  }
}
