/*------------------------------ 
BODY
------------------------------ */
body {
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 22px;
  margin: 0;
  padding: 0;
  color: #666666;
  background: #fff;
  text-shadow: none !important;
}
#wrapper {
  overflow: hidden;
}
section, div, article {
  z-index: 1; /* Default content layer */
}
a{
  text-decoration: none;
}
a,
a:focus,
a:active {
  outline: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: bold;
  color: #333333;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  margin-top: 0px;
}

/*------------------------------ 
HEADER
------------------------------ */
.site-header-1 {
  width: 100%; /* Stretch across the whole page */
  display: flex;
  justify-content: center; /* Center the content horizontally */
}

.carousel-container {
  padding-top: 117px;
  margin-bottom: 5rem;
}

.container .main-bar {
  float: left;
  width: 100%;
}

header.site-header {
  background-color: #fff; /* White background */
  border-bottom: solid 1px #ccc; /* Light grey bottom border */
  width: 100%; /* Stretch across the whole page */
  display: flex;
  justify-content: center; /* Center the content horizontally */
  position: fixed; /* Make the header follow scrolling */
  width: 100%;
  border-top: 5px solid #BB2025;
  z-index: 1000; /* Ensure it's above other content */
}

header.site-header-1 {
  min-height: 115px;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
}

.navbar-brand .logo {
  margin-left: auto; /* Push the logo to the left */
}

.nav-item .nav-link {
  margin: 0 10px; /* Space between menu items */
  }

.nav-item.active .nav-link,
.nav-item .nav-link:hover {
  color: #c00; /* Red text for active or hovered links */
}

/* Increase font size for main navbar links */
.navbar-nav .nav-link {
  margin-top: 0.5rem;
  font-size: 1rem; /* Adjust this value as needed */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
  justify-content: flex-end;
}
.nav-link.disabled {
  color: #6c757d;
}


.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Full width for mobile menu */
.navbar-collapse {
  width: 100%;
}

/* Darker background for the navbar */
.navbar-dark .navbar-collapse {
  background-color: #333;
}

/* Navbar link styles */
.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  padding: 15px;
  font-size: 18px;
}

/* Hover effect for navbar links */
.navbar-dark .navbar-nav .nav-link:hover {
  background-color: #ff0000;
  color: #f1f1f1;
}

/* Optional: Add some top/bottom padding */
.navbar-dark .navbar-nav .nav-item {
  padding-top: 5px;
  padding-bottom: 5px;
  position: relative;
}

#navbarNavMobile {
  position: fixed; /* Keeps the navbar fixed on the screen */
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1050; /* Ensure it's higher than other content */
}

#navbarNavMobile .navbar-container {
  display: flex;
  justify-content: space-between; /* Pushes items to opposite ends */
  align-items: center; /* Align items vertically center */
  padding: 0 15px; /* Adjust padding as needed */
}

#navbarNavMobileContent{
  border-top: 3px solid #c00;
  margin-top: 10px;
}

/* Dropdown container */
.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #1b2c3e; /* Dark background */
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
  left: 0; /* Align the dropdown with the left edge of the parent */
  right: auto; /* Avoid dropdown expanding too wide */
  min-width: 200px; /* Set a minimum width to control size */
  border-top: 3px solid #c00; /* Red strip at the top of the dropdown */
  border-radius: 0; /* Remove border-radius for a clean, flat look */
  overflow: hidden; /* Ensure no overflow beyond the viewport */
}

/* Red strip at the top */
.navbar-nav .dropdown-top-strip {
  display: block;
  width: auto;
  height: 3px;
  position: relative;
  top: 0;
}

/* Show dropdown on hover */
.navbar-nav .nav-item:hover .dropdown-menu {
  display: block;
}

/* Style for the dropdown items */
.dropdown-menu a {
  color: #fff;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

/* Change background color on hover */
.dropdown-menu a:hover {
  color: #fff;
  background-color: #c00;
}

.dropdown-menu a:active {
  color: #fff;
  background-color: #616161;
}

/* Align dropdown with the text above */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  left: 0; /* Align dropdown with the text (no left margin) */
  right: auto; /* Prevent from being cut off */
  border-top: none; /* Remove default borders */
}

/* Remove arrow next to dropdown link */
.nav-item .nav-link {
  padding-right: 0; /* Prevent space for an arrow */
}

/* Ensure dropdown doesn't overflow viewport */
.navbar-nav .dropdown-menu {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Style for the + symbol */
.plus-symbol {
  float: right;
  font-size: 18px;
  color: #fff;
  margin-right: 10px;
  cursor: pointer;
}

/* Initially hide the dropdown items */
.dropdown-items {
  display: none;
  background-color: #1f2224;
  list-style-type: none;
  padding-left: 0px;
  width: 100%;
  transition: background-color 0.4s ease; /* Add transition for background color */
}

/* Dropdown item styling */
.dropdown-item {
  padding: 10px 20px; /* Add padding on the sides for text spacing */
  color: #fff;
  border-bottom: solid 1px #333;
  text-decoration: none;
  display: block;
  width: 100%;
}

.dropdown-items a:hover{
  color: #fff;
  background-color: #c00;
  transition: background-color 0.4s ease; /* Transition duration for hover effect */
}


/* When dropdown is active, show the items */
.navbar-nav .nav-item.active .dropdown-items {
  display: block;
  animation: slideDown 0.3s ease-out;
}

/* Slide down animation */
@keyframes slideDown {
  from {
      max-height: 0;
      opacity: 0;
  }
  to {
      max-height: 200px;
      opacity: 1;
  }
}

/* #Custom Carousel
=============================================*/

.carousel-container {
  position: relative;
  width: 100%;
  height: 48vh; /* Match the height of the carousel */
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-item {
  position: relative;
  height: 48vh;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}
.carousel-item img {
  position: absolute;
  top: -200%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the full image is visible */
  animation: slideDown 2s ease-in-out forwards;
}
.carousel-item img.darker {
  filter: brightness(35%);
  z-index: 1;
  animation-delay: 0s;
}
.carousel-item img.original {
  filter: brightness(100%);
  z-index: 2;
  animation-delay: 0.5s;
}
.carousel-item .text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px; /* Set the maximum width */
  max-height: 300px; /* Set the maximum height */
  width: auto; /* Maintain aspect ratio */
  height: auto; /* Maintain aspect ratio */
  z-index: 3;

  /* Initially hide the overlay */
  opacity: 0;
  transition: opacity 1s ease-in-out; /* For smooth fading */
  animation: showOverlay 1s ease forwards 2s; /* Delay of 2 seconds */
}

#carouselExample {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* First H1 styling */
.heading-1 {
  font-size: 2.5rem; /* Adjust size */
  margin-left: 20px; /* Shift to the right */
  font-weight: bold;
  color: white;
}

/* Second H1 styling */
.heading-2 {
  font-size: 4rem; /* Adjust size */
  margin-left: 140px; /* Shift further to the right */
  font-weight: bold;
  color: white;
}

/* Keyframe to make it visible */
@keyframes showOverlay {
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  to {
      top: 0;
  }
}

/* #Loading animation
================================================== */

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  --b: 8px; 
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(#0000 10%,#f03355) content-box;
  -webkit-mask:
    repeating-conic-gradient(#0000 0deg,#000 1deg 20deg,#0000 21deg 36deg),
    radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
          mask-composite: intersect;
  animation:l4 1s infinite steps(10);
}
@keyframes l4 {to{transform: rotate(1turn)}}


/*------------------------------ 
CONTENT MAIN PAGE
------------------------------ */

/* General Section Styling */
.row-fluid {
    width: 100%;
    padding: 0 15px 60px; /* Add vertical padding */
    background-color: #ffffff; /* Optional: Light background color */
}

.row-fluid-padding {
  width: 100%;
  padding: 60px 15px 60px; /* Add vertical padding */
  background-color: #ffffff; /* Optional: Light background color */
}

/* Container to center content */
.container {
    max-width: 1200px; /* Adjust according to your layout */
    margin: 0 auto;
    padding: 0 15px; /* Padding for spacing */
}

.row {
  display: flex;
  justify-content: space-between; /* Space between columns */
  flex-wrap: wrap; /* Ensures it wraps on small screens */
}

/* Column Layout Styling */
.inner-column {
    padding: 20px;
    text-align: left; /* Align content to the left */
}

.custom-inner-1 {
  background-color: #414042 !important;
}

.custom-inner-2 {
  background-color: #e1e1e1 !important;
}

.custom-inner-1,.custom-inner-2 {
  height: 100%;
}

.inner-column img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the space proportionally */
    margin-bottom: 20px; /* Adds space below the image */
}

/* Heading Styles */
h1 {
    font-size: 2.5rem; /* Adjust to your preference */
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.75rem; /* Adjust to your preference */
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

/* Paragraph Styling */
p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.6; /* Adjust line spacing for readability */
    color: #555;
    margin-bottom: 20px;
}

/* Card Carousel Styling */
.expertise-section {
  padding: 0 15px;
  background-color: #ffffff;
  position: relative;
}
.expertise-section h2 {
  text-align: left;
  margin-bottom: 15px;
  font-weight: bold;
}
.expertise-card {
  position: relative;
  margin-bottom: 30px;
}
.image-overlay img {
  width: 100%;
  height: auto;
  display: block;
}
.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 20px;
}
.overlay-content h3 {
  text-align: left;
  color: #fff;
  margin-bottom: 0.5rem; /* Space between h3 and p */
  font-size: 18px;
  font-weight: bold;
  word-wrap: break-word; /* Enable word wrapping */
}
.overlay-content p {
  text-align: center;
  color: #fff;
  margin: 0 0 15px;
  font-size: 14px;
  word-wrap: break-word; /* Enable word wrapping */
  border-top: 1px solid white; /* Small white border */
  padding-top: 0.5rem; /* Space above the paragraph */
}
.overlay-content a {
  text-align: center;
  color: #fff;
  text-decoration: underline;
  word-wrap: break-word; /* Enable word wrapping */
}

.expertise-cards-container {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}
.expertise-cards-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.expertise-card {
  flex: 0 0 25%; /* Each card takes 25% of the container, showing 4 cards at a time */
  padding: 1rem;
  box-sizing: border-box;
}
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem; /* Increase the size */
  background-color: rgba(0, 0, 0, 0.7); /* Darker background for style */
  color: white; /* White arrow color */
  border: none;
  width: 50px; /* Set width to make it square */
  height: 50px; /* Set height to make it square */
  display: flex; /* Flexbox for centering */
  align-items: center; /* Vertically center the arrow */
  justify-content: center; /* Horizontally center the arrow */
  cursor: pointer;
  z-index: 2;
  border-radius: 0; /* No border radius, square shape */
  transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}
.arrow-btn.left {
  left: 0;
}
.arrow-btn.right {
  right: 0;
}
/* Button Hover Effect */
.arrow-btn:hover {
  cursor: pointer;
  color: red;
  background-color: rgba(211, 211, 211, 0.7); /* Light gray with 70% opacity on hover */
}

/* Card Carousel Styling END */


/* Management */
.governance-section {
  padding: 0 15px;
  background-color: #ffffff;
  position: relative;
}

.governance-cards-container {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}
.governance-cards-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.governance-card {
  flex: 0 0 20%; /* Each card takes 25% of the container, showing 4 cards at a time */
  padding: 25px 10px 25px;
  box-sizing: border-box;
}

/* Management END */

/* Second Card Carousel Styling */

/* General Section Styles */
.project-section {
  padding: 0 15px 50px;
  background-color: #ffffff;
  position: relative;
}
.project-section h2 {
  text-align: left;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Project Card Container & Wrapper */
.project-cards-container {
  position: relative;
  overflow: hidden;
}
.project-cards-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.project-card {
  flex: 0 0 calc(25.5% - 0px); /* Cards smaller and packed tightly together */
  padding-left:11px;
  box-sizing: border-box;
  margin: 0; /* Remove any margin between cards */
  padding: 0; /* Ensure no extra padding is hiding cards */
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.project-card:hover img {
  filter: brightness(50%); /* Darken image on hover */
}

/* Image Overlay Styles */
.image-overlay-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.image-overlay-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-overlay {
  position: relative;
}

/* Overlay Text and Button Styles */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth transition */
  background-color: rgba(0, 0, 0, 0.5); /* Transparent dark background on hover */
}

.project-card:hover .overlay-text {
  opacity: 1; /* Show content on hover */
}

/* Overlay Text (h3) */
.overlay-text h3 {
  padding-top:30px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  position: absolute;
  width: 100%;
  top: -100%; /* Start above the image */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  font-weight: normal; /* Not bold */
  color: white;
  word-wrap: break-word; /* Enable word wrapping */
  transition: top 0.3s ease; /* Smooth transition from the top */
}

/* Overlay Buttons */
.overlay-buttons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  gap: 10px;
}
.overlay-buttons a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  border-radius: 0%;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.overlay-buttons a:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

/* Overlay Tag (Bottom Tag) */
.overlay-tag {
  position: absolute;
  bottom: -50%; /* Start off the image */
  left: 50%;
  transform: translateX(-50%);
  color: #00b4ff;
  transition: bottom 0.3s ease; /* Smooth transition from the bottom */
}

.overlay-tag i {
  margin-right: 5px;
}

/* Hover Effects for h3 and Tag */
.project-card:hover .overlay-text h3 {
  top: 5%; /* Slide h3 into view */
}
.project-card:hover .overlay-tag {
  bottom: 10%; /* Slide tag into view */
}

/* Hover effects on overlay text and buttons */
.project-card:hover .overlay-text h3,
.project-card:hover .overlay-buttons,
.project-card:hover .overlay-tag {
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .project-card {
    flex: 0 0 calc(50% - 10px); /* Two cards per row on tablets */
  }
}

@media (max-width: 576px) {
  .project-cards-container {
    overflow-x: auto; /* Allow horizontal scrolling */
    display: flex;
    padding-bottom: 10px; /* Optional: adds space for the scrollbar */
  }
  
  .project-cards-wrapper {
    display: flex;
    flex-wrap: nowrap; /* Prevent cards from wrapping to the next line */
  }
  
  .project-card {
    flex: 0 0 100%; /* Full width per card on mobile */
    scroll-snap-align: start; /* Optional: snap to each card when scrolling */
  }

  /* Constantly visible overlay text on mobile */
  .overlay-text {
    opacity: 1 !important; /* Always visible */
  }

  /* Remove hover effects for overlay text and tag on mobile */
  .overlay-text h3 {
    top: 5%;
  }
  .overlay-tag {
    bottom: 10%;
  }
}

/* Second Card Carousel Styling END */

.inner-column-bottom {
  text-align: left;
  padding-top: 10px; /* Add padding for better spacing on mobile */
}

.image-section {
  padding-right: 20px; 
}

.image-section img {
  width: 100%; 
  height: auto; 
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px; /* Add some padding for text readability */
}

.text-section h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.text-section p, li {
  font-size: 14px; /* Slightly increase font size for readability */
  line-height: 1; /* Increase line height for easier reading */
}

.text-section ul {
  list-style-type: disc;
  margin-bottom: 15px; /* Add more spacing between the list and the next element */
}

.btn-red a {
  color: #e60000; /* Use a brighter red for better contrast on mobile */
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px; /* Make button larger and more clickable */
  border-radius: 5px; /* Add border-radius for modern button look */
  background-color: #fff; /* Add background color for more button-like appearance */
  border: 1px solid #e60000; /* Add border for better visibility */
}

/* Responsive behavior */
@media (max-width: 992px) {
  .col-sm-6 {
      flex: 0 0 100%;
      max-width: 100%;
  }

  .row {
      flex-direction: column;
  }

  .image-section {
      padding-right: 0;
      margin-bottom: 15px;
  }

  .text-section h2 {
      font-size: 20px; /* Make heading a bit smaller on tablet screens */
  }
}

@media (max-width: 768px) {
  .inner-column-bottom {
      padding: 5px; /* Reduce padding on smaller screens */
  }

  .text-section h2 {
      font-size: 18px; /* Smaller heading for small devices */
  }

  .text-section p, li {
      font-size: 13px; /* Slight adjustment for text readability */
  }

  .image-section img {
      width: 100%;
  }

  .btn-red a {
      padding: 12px 25px; /* Make the button slightly larger for touch-friendly UI */
      font-size: 14px; /* Slightly larger text for buttons */
  }
}

/* Responsive Styling */
@media (max-width: 768px) {
  .expertise-card {
      flex: 0 0 50%; /* Show 2 cards at a time */
  }
  
  .project-card {
      flex: 0 0 50%; /* Show 2 cards at a time */
  }

  .inner-column {
      text-align: center; /* Center text for mobile */
  }

  h1, h2 {
      font-size: 2rem; /* Adjust font size for smaller screens */
  }

  .tiny-border {
      margin: 10px auto 20px; /* Center the tiny border */
  }
}

@media (max-width: 576px) {
  .expertise-card {
      flex: 0 0 100%; /* Show 1 card at a time */
  }

  .project-card {
      flex: 0 0 100%; /* Show 1 card at a time */
  }

  h1 {
      font-size: 1.75rem; /* Smaller font size on very small screens */
  }

  h2 {
      font-size: 1.25rem;
  }
}


@media (max-width: 768px) {
    .inner-column {
        text-align: center; /* Center text for mobile */
    }
    h1, h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }
    .tiny-border {
        margin: 10px auto 20px; /* Center the tiny border */
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem; /* Smaller font size on very small screens */
    }
    h2 {
        font-size: 1.25rem;
    }
}

/* Company Profile page Styling */

.hero {
  margin-top: 115px; /* Adjust based on the height of the header */
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0; /* Remove rounded corners */
}

/* Responsive adjustments for Hero Section */
@media (max-width: 768px) {
  .hero {
    margin-top: 60px; /* Smaller top margin for mobile */
  }

  .hero-image img {
    object-fit:contain; /* Adjust the image fit for smaller screens */
  }
}


/* Company Profile page Styling END */

.rs-company-profile-11 {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  background-color: #414042 !important;
}

.rs-company-profile-12 {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  background-color: #ffffff !important;
}

.rs-gim-cert-11 {
  padding-top: 20px !important;
  background-color: #414042 !important;
}

.custom-heading {
  color: #ffffff;
  text-align: center;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight:700;
  font-style:normal;
}

.partneri-custom-heading {
  text-align: center;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.custom-heading .section-heading {
  text-align: start;
  color: black;
}

.custom-paragraph {
  text-align: left;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: small;
  font-style: normal;
}

.custom-links {
  list-style-type: none;  /* Removes the default bullet points */
  padding: 0;             /* Removes default padding */
  margin: 20px 0;         /* Adds some space above and below the list */
}

.custom-links li {
  margin-bottom: 10px;    /* Adds space between each link */
}

.custom-links a {
  text-decoration: none;  /* Removes the underline from links */
  color: #555;            /* Sets the link color (dark grey) */
  font-weight: bold;      /* Makes the text bold */
  transition: color 0.3s ease; /* Adds a smooth color transition on hover */
}

.custom-links a:focus {
  outline: none;          /* Removes the outline when focused (e.g. using keyboard) */
  color: lightgray;         /* A darker shade of blue when the link is focused */
}

@media (max-width: 768px) {
  .custom-heading {
    font-size: 1.5rem; /* Smaller font for tablets */
  }

  .custom-paragraph {
    font-size: 0.9rem; /* Adjust paragraph font size for tablets */
    text-align: center; /* Center text for smaller screens */
  }

  .custom-links li {
    margin-bottom: 8px; /* Adjust space between links for smaller screens */
  }

  .custom-links a {
    font-size: 0.95rem;  /* Slightly smaller font size for links */
    color: #333;         /* Ensure the color remains consistent */
  }

  .custom-links a:hover {
    color: #0056b3;      /* Adjust hover color for consistency */
  }
}

/* Section for the image container */
.stats-section {
  background-color: gray; /* Light gray background */
  padding: 0 20px; /* No top/bottom padding, small padding on sides */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container for the image */
.image-container {
  max-width: 1200px; /* Set a max width for the image container */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make the image responsive */
.image-container img {
  max-width: 100%;
  height: auto; /* Maintain the aspect ratio */
  display: block; /* Ensures there's no extra spacing */
}

@media (max-width: 768px) {
  .stats-section {
    padding: 0 10px; /* Less padding on sides for mobile */
  }

  .image-container {
    max-width: 100%; /* Remove max-width to use full screen on mobile */
  }
}

/* Further media query for smaller devices (mobile phones) */
@media (max-width: 576px) {
  .custom-heading {
    font-size: 1.2rem; /* Smaller font for mobile */
  }

  .custom-paragraph {
    font-size: 0.8rem; /* Smaller font size for mobile */
  }

  .hero {
    margin-top: 40px; /* Smaller margin for very small devices */
  }

  .stats-section {
    padding: 0 5px; /* Very minimal padding on sides */
  }
}

/* Contact Section Container */
.contact-section-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh; /* Fills the viewport height */
  padding: 20px;
}

/* Center the Contact Section Content */
.contact-section-container .container {
  max-width: 1200px;
  margin: auto;
}

/* Title Styling */
.contact-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

/* Form Field Styling */
.contact-form-group {
  margin-bottom: 15px;
}

.contact-form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.3);
}

/* Textarea Styling */
.contact-textarea {
  resize: vertical;
}

/* Button Styling */
.contact-btn-primary {
  background-color: #c00;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.contact-btn-primary:hover {
  background-color: rgb(138, 1, 1);
}

/* Address and Link Styling */
.contact-address {
  font-style: normal;
  line-height: 1.7;
  color: #555;
  margin-top: 15px;
}

.contact-address a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-address a:hover {
  color: #004494;
}

/* Larger Map Styling */
.contact-map-container {
  margin-top: 20px;
  width: 100%;
  height: 400px; /* Increase the map height */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-section-title {
      font-size: 24px;
      margin-bottom: 15px;
  }

  .contact-form-control,
  .contact-btn-primary {
      font-size: 14px;
      padding: 8px 15px;
  }

  .contact-address {
      font-size: 14px;
  }

  .contact-map-container {
      height: 300px; /* Adjust map height for mobile */
      margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .contact-section-container {
      padding: 10px;
  }

  .contact-section-title {
      margin-top: 22%;
      font-size: 20px;
      text-align: center;
  }

  .contact-btn-primary {
      width: 100%;
      font-size: 14px;
  }

  .contact-address {
      font-size: 13px;
  }

  .contact-map-container {
      height: 250px; /* Smaller map height on small screens */
  }
}



/* R&D page CSS Start */

li.list-item:not(:last-child) {
  margin-bottom: 5px;
}

/* R&D page CSS End */

/* Certificate Tab Styles */
.nav-tabs {
  display: flex; /* Keep tabs in a single line */
}

.nav-tabs .nav-item {
  flex: 1; /* Make each tab take equal space */
  flex-basis: 0; /* Allow the tabs to shrink */
  min-width: 100px; /* Set a minimum width for usability */
}

.nav-tabs .nav-link {
  color: #343a40 !important;
  background-color: #e9ecef !important; /* Light gray background */
  padding: 15px 20px !important; /* Padding for the tab (top/bottom and sides) */
  border: 1px solid #000 !important; /* Border for the tab */
  font-weight: bold !important; /* Bold text */
  font-size: 18px; /* Font size */
  text-align: center; /* Center align text */
  border-radius: 0 !important; /* Remove rounded corners */
  margin: 0; /* No margin to keep tabs tight */
}

.nav-tabs .nav-link.active {
  background-color: #343a40 !important; /* Dark background for active tab */
  color: white !important; /* White text for active tab */
  z-index: 1; /* Bring active tab above others */
}

/* Ensure tab content spans the width of all tabs */
.tab-content-container {
  width: 100%; /* Make it full width of the parent */
  padding: 0; /* No padding here */
  margin-top: -1px; /* Align content with tabs */
  border: 1px solid #000; /* Outer border around content area */
  box-sizing: border-box; /* Include padding in total width */
}

/* Content paragraphs start in the top left corner */
.tab-pane-content {
  display: none; /* Hide content by default */
  padding: 15px; /* Normal padding around content */
  margin: 0; /* No margin to avoid shifting */
}

.tab-pane-content.show {
  display: block; /* Show content when active */
}

/* Ensure active tab's content is always visible */
.nav-link.active + .tab-pane-content {
  display: block; /* Show active content */
}

/* Mobile-specific styles */
@media (max-width: 576px) {
  .nav-tabs .nav-link {
    width: 100%; /* Full width on mobile */
  }

  .nav-tabs {
    display: block; /* Stack tabs in mobile view */
    padding-right: 0px;
  }

  .cast .nav-item {
    width: 100%; /* Full width for each item */
  }

  .cast .nav-link {
    display: block; /* Block display for mobile tabs */
    width: 100%; /* Full width for mobile */
    text-align: left; /* Left align text */
    padding: 10px; /* Padding for mobile */
    background-color: #f8f9fa; /* Background color for mobile */
    border: 1px solid #000; /* Border for mobile tabs */
    margin-bottom: 5px; /* Space between mobile tabs */
    font-weight: bold; /* Bold text for mobile */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s ease; /* Transition effect */
  }

  .cast .nav-link.active {
    background-color: #343a40; /* Active tab background in mobile */
    color: white; /* Active tab text color in mobile */
  }
}

/* Tablet styles */
@media (min-width: 577px) and (max-width: 768px) {
  .nav-tabs .nav-item {
    flex: 0 1 auto; /* Allow tabs to shrink and adjust */
    margin: 0; /* No margin for tighter layout */
  }

  .nav-tabs .nav-link {
    padding: 8px 20px !important; /* Adjust padding for tablets */
    font-size: 14px !important; /* Font size for tablets */
  }

  .tab-content {
    padding: 0.8rem !important; /* Padding for tablet content */
    margin-bottom: 25px !important; /* Bottom margin for tablet content */
  }
}

/* PC styles */
@media (min-width: 769px) {
  .nav-tabs .nav-item {
    flex: 0 1 auto; /* Adjust for desktop, allowing shrinking */
  }

  .nav-tabs .nav-link {
    padding: 10px 20px !important; /* Padding for desktop tabs (sides) */
    font-size: 16px !important; /* Font size for desktop */
  }

  .tab-pane-content {
    display: none; /* Hide by default on desktop */
    padding: 15px; /* Normal padding for content */
    margin-top: -1px; /* Align content with the tab */
  }

  /* Ensure active tab's content is always visible */
  .nav-link.active + .tab-pane-content {
    display: block; /* Show active content */
  }
}



/* #Custom Css From Old CSS style
================================================== */
.spacing-30 {
  height: 30px;
  clear: both;
}
.spacing-15 {
  height: 15px;
  clear: both;
}
.spacing-10 {
  height: 10px;
  clear: both;
}
.box-title {
  font-size: 20px;
}
abbr {
  border-bottom: 1px dotted;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.inline {
  display: inline-block;
}
.no-padding,
#content.no-padding {
  padding: 0px 0px 0px 0px;
}
.no-padding-bottom {
  padding-bottom: 0px;
}
.no-padding-top {
  padding-top: 0px;
}
.padding-top-bottom-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.no-margin {
  margin: 0px 0px 0px 0px !important;
}
.no-margin-bottom {
  margin-bottom: 0px !important;
}
.margin-top-30 {
  margin-top: 30px !important;
}
.margin-top-20 {
  margin-top: 20px !important;
}
.margin-top-80 {
  margin-top: 80px;
}
.margin-top-170 {
  margin-top: 170px;
}
.padding-bottom-0 {
  padding-bottom: 0px !important;
}
.bg-grey {
  background-color: #f8f8f8;
}
.no-boder {
  border-top: 0px solid transparent;
}
section,
#content {
  padding: 60px 0 60px 0;
  background: #fff;
}
.section-elements {
  padding-top: 0px;
}
.small-border {
  clear: both;
  width: 80px;
  height: 3px;
  background: #BB2025;
  margin: 20px auto 20px auto;
}
.tiny-border {
  clear: both;
  width: 40px;
  height: 2px;
  background: #BB2025;
  margin: 0px 0 20px 0;
   
}
.text-center .tiny-border {
  margin: 0px auto 30px auto;
}
.tiny-border-light {
  clear: both;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0px 0 20px 0;
}
.divider-single {
  clear: both;
  height: 30px;
}
.spacer-single {
  clear: both;
  height: 60px;
}
.list-style-1 {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.list-style-1 li {
  position: relative;
  padding-left: 20px;
  color: #666666;
  margin-bottom: 10px;
}
.list-style-1 li:before {
  position: absolute;
  top: 0px;
  left: 0px;
  font-family: 'FontAwesome';
  display: inline-block;
  font-size: 13px;
  content: "\f058";
  color: #aaaaaa;
}
@media (max-width: 576px) {
.parallax{
  padding:0px;
  padding-top:150px;
  
}
.social-share{
  margin-top:20px !important;
}
.img-fluid{
  height:auto !important;
  width:100% !important;
}
.article-pomeri{
  margin-top:20px !important;
}
.row .minimize-font{
  padding-top:20px !important;
}
.project-section{
  margin-top:-20px !important;
}
}
/*Djoka's Labaratory*/
.full-width-image {
  padding-top:50px;
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.buttons button {
  width: 100%;
  margin: 5px 0;
  /*background-color:#363636;
  border:solid #363636;*/
}
.buttons button:hover{
  background-color: rgb(36, 36, 36);
  border:solid rgb(36, 36, 36);
}
.textbox {
  
  width: 75%;
  padding: 10px;
  border: 1px solid #ccc;
  overflow-y: auto;
  height: 300px; /* Adjust height as needed */
  /*white-space: pre-wrap;*/ /* Preserve whitespace and line breaks */
}
.textbox ul {
  list-style-type: disc;
  padding-left: 20px; /* Adjust padding for indentation */
}
.textbox ul li{
  margin-top:10px;
  line-height: 1.5;
}

.defaults{
  background-color: rgb(75, 75, 75);
  border:solid rgb(75, 75, 75);
}
.actives{
  background-color: rgb(148, 147, 147);
  border:solid rgb(148, 147, 147);
}
.preporuke{
  width:100%;
  margin-top: -80px;
  justify-content: center; /* Centers horizontally */
  align-items: center;
}
.image-container-expertise {
  position: relative;
  overflow: hidden;
  
}
.image-container-expertise img {
  width: 100%;
  height: auto;
}
.overlay-ct {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-container-expertise:hover .overlay-ct {
  opacity: 1;
}
.overlay-ct h3{
  color: white;
  margin-top: 90px;
  text-align: center;
}
.overlay-ct button{
  background-color: #666;
  border: solid #666;
  margin-top:80px;

}
.overlay-ct button:hover{
  background-color: #444444;
  border: solid #444444;
}
/*Djoka's Labaratory ending*/
/*Djoka CSS projects*/
.container-project{
  padding-left: 5%;
  padding-top:117px;
}
.categories{
  background-color: #ffffff;
}

.container-project {
  width: 80%;
  
  margin: auto;
  overflow: hidden;
}

.categories {
  display: flex;
  flex-wrap:wrap;
  margin: 20px 80px;
}

.category-btn {
  
  padding: 5px 15px;
  background-color: #ffffff;
  color: white;
  border: none;
  cursor: pointer;
  color:rgb(65, 65, 65);
}

.category-btn:hover {
  background-color: #a0a0a0;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-left:20px;
}
.randomid{
  height: 60px; /* Set the height to 200 pixels */
  
}

.randomid #loadMoreBtn {
  background-color: #333333;
}

.randomid #loadMoreBtn:hover {
  background-color: #616161;
}

.randomid #loadMoreBtn:active {
  background-color: #616161;
}

.article {
  background-color: white;
  
  padding: 20px;
  
  border: 1px solid #ddd;
  width: calc(33.333% - 20px);
  box-sizing: border-box;
}

.article h2 {
  margin-top: 0;
}
.article {
  position: relative;
  width: 300px; /* Adjust the width as needed */
  min-width: 20%;
  
}

.article img {
  width: 100%;
  height: auto;
  
}
.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 86.5%;
  
  margin-bottom: 20px;
  transition: .5s ease;
  opacity: 0;
  padding:30px;
  text-align: center;
}

.article:hover .overlay {
  opacity: 1;
 
}
.read-more {
  background-color: #fff;
  color: #1d1d1d;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
}

.read-more:hover {
  background-color: #ddd;
}
/*Djoka projects hidden part*/
.hidden {
  display: none;
}

#loadMoreBtn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
}


#loadMoreBtn:hover {
  background-color: #0056b3;
}
/*Djoka CSS projects end*/
/*Djoka Template article*/

.parallax {
  margin-top: 110px;
  
  background-image: url('https://gim.mk/wp-content/uploads/2021/05/01-Nacionalni-Proekti-MainBanner-01-scaled.jpg');
  height: 20%;
  width:100%;
  /*min-height: 400px;*/
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: -1;
}

.article-pomeri{
  margin-top:50px;
}
/* Djoka test*/

.minimize-font p{
  font-size: 0.8rem;
 }
/* Djoka test kraj*/
.social-share{
  margin-top:30px;
 
}
.social-share a {
  color: #888888;
  display: inline-block;
  padding: 0px;
  /*margin: 50px 8px 0px 0px;*/
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 2px solid #e6e6e6;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.social-share a .fa {
  font-size: 15px;
}
.social-share a:hover {
  color: #fff;
  border-color: #29b6f6;
  background-color: #29b6f6;
}

/*DjokaTempalte article end*/
/*Djoka Adept*/
/*Adept for Ekspertize*/
.pomeraj{
  margin-top:-5px;
}
@media (max-width: 767px) {
  .hide-on-mobile {
      display: none;
  }
  
  .pad-l{
    padding-left:10px;
  }
  .textbox{
    width:100%;
  }
  .image-container-expertise .overlay-ct {
    opacity: 1;
  }
  .image-container-expertise{
    margin-bottom: 10px;
  }
}
.added-css{
  background-color: rgb(75, 75, 75); width:100%; display:flex; height:40px; background-color: #666;color:black;font-size: 2 rem;text-align: left;
}
/*Adept for Ekspertize end*/
/*Adept for projects*/
@media (max-width: 767px) {
.categories{
margin:0px;
align-items: center;
justify-content: center;
}
.container-project{
  padding-left: 3%;
  padding-top:120px;
}
.categories .category-btn{
  font-size:0.6rem;
  padding-left: 16px;
  padding-top: 9px;
  padding-bottom: 5px;
}
.article {
padding:0px;
width:100%;
}
.article .overlay {
  opacity: 1;
  width:100%;
  height:100%;
  margin-bottom: 0px;
}

.article .overlay .text{
  font-size: large;
  font-weight: bold;
  margin-top:30px;
}
.article .overlay .read-more{
  margin-top:40px;
}

}
/*Adept for projects end*/
/*Djoka Adept*/
/*FOOTER by Djoka*/
footer.bg-color-1 {
  background: #e1e1e1; /* Gray background */
  color: #333333; /* Darker text color */
  padding-bottom: 0;
  position: relative;
  z-index: 100;
}

footer .main-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 50px 0;
  
}

/* Column styling */
footer .main-footer .widget-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align all content to the top */
  width: 23%; /* Each column takes roughly 23% */
  min-width: 200px;
  margin-bottom: 20px;
}

footer .main-footer .widget-title {
  font-size: 18px;
  color: #000;
  margin-bottom: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Unordered list styles for footer links */
footer .main-footer .widget-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1; /* Ensure this section takes up the remaining height */
}

footer .main-footer .widget-inner ul li {
  margin-bottom: 10px;
}

footer .main-footer .widget-inner ul li a {
  color: #333333; /* Dark text color for links */
  text-decoration: none;
  font-weight: normal;
}

footer .main-footer .widget-inner ul li a:hover {
  color: grey; /* Hover effect for links */
}

/* Footer Logo and Contact Info */
footer .main-footer .logo-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content at the top */
}

footer .main-footer .logo-footer img {
  height: auto; /* Ensure the height scales proportionally */
  width: 250px; /* Define a maximum width to prevent stretching */
  max-width: 100%; /* Ensure it doesn't exceed container width */
  margin-bottom: 50px;
}

footer .main-footer .widget-inner p {
  margin: 5px 0;
  color: #333333;
  flex-grow: 0;
}

/* Social Icons */
footer .main-footer .widget-inner .social-icons {
  margin-top: auto; /* Ensure social icons stick to the bottom */
}

footer .main-footer .widget-inner .social-icons a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  background-color: #333333;
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

footer .main-footer .widget-inner .social-icons a:hover {
  background-color: grey;
}

/* Sub-footer (Copyright Section) */
footer .sub-footer {
  background-color: #333333;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

footer .sub-footer p {
  margin: 0;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer .main-footer {
    flex-direction: column;
    align-items: center;
  }
  
  footer .main-footer .widget-inner {
    width: 100%;
    text-align: center;
  }

  footer .main-footer .logo-footer {
    align-items: center; /* Center the logo horizontally */
  }

  footer .main-footer .social-icons {
    justify-content: center;
  }
}

