/* ------------------------------------------------------- Carousel Function Starts  ------------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel Indicator Styling */
.tnk_theme_carousel_indicators,
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  list-style: none;
}


.tnk_theme_carousel_indicators li.active {
  background-color: #333; /* Active indicator color */
}

.tnk_theme_carousel_indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff; /* Indicator color */
  margin-right: 5px;
  cursor: pointer;
}

/* Carousel Item Styling */
.tnk_theme_carousel_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.tnk_theme_carousel_item,
.carousel-item {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.tnk_theme_carousel_item img,
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tnk_theme_slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff; /* Text color */
}

/* Animation */
.tnk_theme_animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.tnk_theme_fadeInUp {
  animation-name: fadeInUp;
}

a.tnk_theme_button {
  background-color: white; /* White background color */
  color: black; /* Black font color */
  padding: 10px 20px; /* Padding for the button */
  border: none; /* Remove border */
  border-radius: 5px; /* Add some border radius for rounded corners */
  cursor: pointer; /* Change cursor to pointer on hover */
  text-decoration: none; /* Remove default link underline */
  display: inline-block; /* Make the button behave like a block element */
  box-sizing: border-box; /* Ensure padding and border are included in the width and height */
  margin: 0; /* Ensure no extra margins */
}

/* Hover effect */
a.tnk_theme_button:hover {
  background-color: #333; /* Darken the background color on hover */
  color: white; /* Change font color to white on hover */
}


/* Customize captions */
.carousel-caption {
  background: none !important; /* Remove background color */
  box-shadow: none !important; /* Remove box shadow */
  text-align: center; /* Center the text */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}



/* ------------------------------------------------------- Carousel Function Ends ------------------------------------ */

/* ------------------------------------------------------- Header, Paragraph and Button start  ------------------------------------ */
.tnk_header_paragraph h1 {
    font-size: 24px; /* Adjust font size as needed */
    font-weight: bold;
    color: #333; /* Change color as needed */
}

.tnk_header_paragraph h2 {
    font-size: 20px; /* Adjust font size as needed */
    font-weight: bold;
    color: #333; /* Change color as needed */
}

.tnk_header_paragraph h3 {
    font-size: 18px; /* Adjust font size as needed */
    font-weight: bold;
    color: #333; /* Change color as needed */
}

.tnk_header_paragraph p {
    font-size: 16px; /* Adjust font size as needed */
    color: #666; /* Change color as needed */
}

.tnk_header_paragraph a {
    font-size: 16px; /* Adjust font size as needed */
    color: #007bff; /* Change color as needed */
    text-decoration: none; /* Remove underline */
}

.tnk_header_paragraph a:hover {
    color: #007bff; /* Change color on hover */
}

/* Media queries for mobile devices */
@media only screen and (max-width: 768px) {
  /* Adjust font sizes for mobile devices */
.tnk_header_paragraph h1 {
    font-size: 18px;
  }
  
.tnk_header_paragraph h2 {
    font-size: 16px;
  }
  
.tnk_header_paragraph h3 {
    font-size: 14px;
  }
  
.tnk_header_paragraph p {
    font-size: 12px;
  }
  
.tnk_header_paragraph a {
    font-size: 14px;
  }
a.tnk_theme_button {
  padding: 2px 6px;
}
}
/* ------------------------------------------------------- Header, Paragraph and Button end  ------------------------------------ */

/* ------------------------------------------------------- Text Position starts  ------------------------------------ */
.tnk_theme_text_top {
  position: absolute;
  top: 5%;
  left: 50%;
  text-align:left;
  transform: translateX(-40%);
}

.tnk_theme_text_left {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.tnk_theme_text_right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.tnk_theme_text_bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tnk_theme_text_top_left {
  position: absolute;
  top: 0;
  left: 0;
}

.tnk_theme_text_top_right {
  position: absolute;
  top: 0;
  right: 0;
}

.tnk_theme_text_bottom_left {
  position: absolute;
  bottom: 0;
  left: 0;
}

.tnk_theme_text_bottom_right {
  position: absolute;
  bottom: 0;
  right: 0;
}

.tnk_theme_text_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* ------------------------------------------------------- Text Position ends  ------------------------------------ */

/* ------------------------------------------------------- homepage header starts  ------------------------------------ */
/* Styles for the homepage header carousel container */
.tnk_theme_homepage_header {
  position: relative;
  width: 100%;
  height: 80%; /* You can adjust height based on your design needs */
  background-size: cover;
  margin-top: 5px;
  margin-bottom: 5px;
}


/* ------------------------------------------------------- homepage header ends  ------------------------------------ */

/* ------------------------------------------------------- homepage Phone Section  starts  ------------------------------------ */
.row_flex {
    display: flex;
    align-items: center; /* Vertically center items */
}

.image_container {
    flex: 0 0 66.66%; /* Image takes up 2/3 of the width */
    max-width: 66.66%;
}

.image_container>img {
    width:100%; /* Image takes up 2/3 of the width */
    height:auto;
}
.text_container {
    flex:0 0 33.33%;
    max-width: 33.33%;
}
/* ------------------------------------------------------- homepage Phone Section  ends  ------------------------------------ */
.aboutus_products_thumbnail_inner {
  border: 0px;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrolling */
  background: #ffffff;
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping to next line */
  justify-content: space-around;
  align-items: flex-start; /* Align items to the start of the container */
}
.aboutus_products_thumbnail_inner_sub {
  flex: 0 0 auto; /* Prevent images from growing or shrinking */
  width: 200px; /* Set a fixed width for the thumbnail container */
  height: 300px; /* Set a fixed height for the thumbnail container */
  margin: 0 10px; /* Adjust the margin between thumbnail containers */
  display: flex;
  flex-direction: column; /* Align items vertically */
  align-items: center; /* Center items horizontally */
}

.aboutus_products_thumbnail_inner_sub img {
  max-width: 100%;
  max-height: 100%;
  object-fit:contain; 
}



.aboutus_products_thumbnail_inner_sub h1 {
  font-weight: bolder;
  font-style: normal;
  text-spacing: -1px;
  font-size: 20px;
  margin-top: 10px; /* Add margin to separate image and label */
}

.aboutus_products_thumbnail_inner_sub img:hover {
  animation: kbrns_zoomInOut 2s linear 0s infinite alternate;
  border-style: dotted;
  border-radius: 20px;
  border-width: 2px;
  border-color: black;
}
