/********** Template CSS **********/
:root {
    --primary: #0a868f;
    --secondary: #FF9933;
    --light: #F6FFF2;
    --dark: #263A4F;
}

.btn {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 30px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background: url(../img/slider1.jpg) top right no-repeat;
    background-size: cover;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}







/* Product Slider Container */
.product-slider {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f7f7f7, #ececec);
}

.product-slider h2 {
    font-size: 2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Scroll Wrapper */
.product-scroll-wrapper {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

/* Scrollable Products */
.product-scroll {
    display: flex;
    gap: 15px;
    animation: scroll-left 15s linear infinite;
}

.product-card {
    flex: 0 0 auto;
    width: 150px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.product-card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 120px;
    background-size: cover;
    background-position: center;
}

.product-title {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin: 10px 0;
    text-transform: capitalize;
}

/* Animation for Auto Scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause Scroll on Hover */
.product-scroll-wrapper:hover .product-scroll {
    animation-play-state: paused;
}


















.service-item {
    box-shadow: 0 0 45px #EDEDED;
    transition: .5s;
}

.about i,
.service-item i {
    background-image: linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

.service-item:hover {
    color: var(--light);
    background: var(--primary) !important;
}

.service-item:hover i {
    background-image: linear-gradient(var(--light), var(--secondary));
}

.service-item:hover h4 {
    transition: .5s;
}

.service-item:hover h4 {
    color: var(--light);
}

.product-item {
    padding: 0 30px 30px 30px;
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    bottom: 0;
    opacity: 1;
}

.product-item h5 {
    transition: .5s;
}

.product-item:hover h5 {
    opacity: 0;
}

.product-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 55%;
    bottom: 0;
    left: 0;
    background: url(../img/bg-product-1.png) left bottom no-repeat, url(../img/bg-product-2.png) right bottom no-repeat;
    background-size: contain;
    background-color: var(--primary);
    z-index: -1;
}

.product-carousel .owl-nav {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next{
    position: relative;
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.bg-testimonial {
    background: url(../img/testimonial.jpg) top center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgb(8 25 33 / 70%);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

.blog-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(52, 173, 84, 0), rgb(38, 101, 153));
    z-index: 1;
}

.bg-footer {
    background: linear-gradient(rgb(10 22 21 / 70%), rgb(25 95 95 / 70%)), url(../img/footer.png) center bottom no-repeat;
    background-size: contain;
}

@media (min-width: 991.98px) {
    .bg-footer {
        margin-top: 90px !important;
    }
}








.navbar-brand img {
    height: 50px;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 40px; /* Smaller logo for mobile */
    }
}




































#header-carousel {
    height: 100vh; /* Full viewport height */
    position: relative;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    height: 100vh; /* Image height matches the viewport */
    object-fit: cover; /* Ensures the image covers the entire area */
}

.carousel-caption {
    /* background: rgba(0, 0, 0, 0.5); Semi-transparent background for text */
    padding: 20px;
    border-radius: 10px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Text shadow for better visibility */
}

.carousel-caption h3 {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Text shadow for better visibility */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Makes navigation icons white */
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .carousel-caption h3 {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }
}



















/* Ensure all blog images retain their original aspect ratio */
.blog-item img {
    width: 100%; /* Ensures the image spans the container width */
    height: auto; /* Maintains the image's original aspect ratio */
    border-radius: 5px; /* Optional: Adds rounded corners for aesthetics */
    display: block;
}

/* Styling for blog overlay */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    text-decoration: none;
}

.blog-item:hover .blog-overlay {
    opacity: 1; /* Show overlay on hover */
}

.blog-overlay h4,
.blog-overlay span {
    color: #fff;
    margin: 5px 0;
}















 /* Ensure all product images are the same size */
 .product-image-wrapper {
    width: 100%; /* Full width of parent container */
    height: 200px; /* Fixed height for images */
    overflow: hidden; /* Hide overflow if image exceeds the size */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8; /* Add background color for consistency */
    border-radius: 5px; /* Optional: rounded corners */
}

.product-image {
    max-width: 100%; /* Scale image to fit width */
    max-height: 100%; /* Scale image to fit height */
    object-fit: contain; /* Preserve aspect ratio of image */
}










.blog-item img {
    width: 100%; /* Ensures images fit the container width */
    height: 250px; /* Sets a uniform height for all images */
    object-fit: cover; /* Crops the image to fill the set dimensions */
    border-radius: 5px; /* Adds a slight rounding to the edges */
}









.youtube-section {
    background-color: #f0f0f0;
    padding: 40px 10%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .youtube-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
  }
  
  .youtube-section p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
  }
  
  .youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .video-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
  }
  
  .video-title {
    padding: 10px;
    font-size: 1em;
    background-color: #333;
    color: white;
    text-align: center;
  }
  
  .view-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #1e90ff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .view-more:hover {
    background-color: #0044cc;
  }
  

















/* Header container */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 4px #222222;
    gap: 20px;
}

/* Logo styling */
.logo {
    max-height: 60px;
    height: auto;
    max-width: 100%;
}

/* Search bar container */
.search-bar-container {
    display: flex;
    align-items: center;
    width: 60%;
    min-width: 250px; /* Ensures usability on smaller screens */
}

/* Search bar styling */
.search-bar {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

/* Search button styling */
.search-button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-left: none;
    background-color: #2d6f8d;
    color: white;
    font-size: 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-button:hover {
    background-color: #ff9933;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column; /* Stack logo and search bar vertically */
        gap: 10px;
    }

    .search-bar-container {
        width: 100%; /* Full width on smaller screens */
    }
}

@media (min-width: 1200px) {
    .search-bar-container {
        width: 70%; /* Slightly wider on larger screens */
    }

    .search-bar {
        font-size: 18px;
    }

    .search-button {
        font-size: 18px;
        padding: 12px 24px;
    }
}














.service-item {
    width: 18%; /* Adjust the width to fit all icons horizontally */
    min-width: 200px; /* Ensure it doesn't shrink too much */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.d-flex {
    flex-wrap: wrap; /* Ensures responsiveness for smaller screens */
}
.service-item i {
    font-size: 40px; /* Adjust the icon size */
}







/* <!-- Custom CSS for Responsiveness with Unique Classes/IDs --> */
/* Featured Products Section */
.featured-products-section {
    text-align: center;
    padding: 20px;
    background-color: #e7e6e9; /* Background color */
    background-image: url('path/to/your-image.png'); /* Path to your PNG image */
    background-position: center;
    background-size: cover; /* Ensure the image covers the section */
    background-repeat: no-repeat; /* Prevent repeating the image */
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2); /* Adding shadow inside */
}

/* Title Styling */
.featured-products-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Product Grid */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four products per row */
    gap: 20px;
    justify-items: center;
}

/* Product Card */
.featured-product-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
    transition: transform 0.3s, box-shadow 0.3s, margin-top 0.3s; /* Smooth transition */
    position: relative;
    overflow: hidden;
    margin-top: 20px; /* Slightly raised above the surrounding content */
}

.featured-product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Product Info */
.featured-product-info {
    position: relative;
    height: 40px;
}

/* Product Name */
.featured-product-name {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Read More Button */
.featured-read-more {
    display: none;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover Effects */
.featured-product-card:hover .featured-product-name {
    opacity: 0;
    transform: translateY(-20px);
}

.featured-product-card:hover .featured-read-more {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%);
}

.featured-product-card:hover {
    transform: translateY(-8px); /* Floating effect on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow when hovered */
    margin-top: 10px; /* Small lift when hovered */
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, 1fr); /* Three products per row */
    }
}

@media (max-width: 768px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr); /* Two products per row */
    }

    .featured-product-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: repeat(1, 1fr); /* One product per row */
    }
}


















/* Fullscreen and space-free carousel */
#unique-header-carousel .unique-carousel-image {
    width: 100%;
    height: 100vh; /* Make the image take up the full viewport height */
    object-fit: fill; /* Ensures no empty space, covering the entire area */
    object-position: center; /* Center the image */
}

/* Smaller screen adjustments */
@media (max-width: 768px) {
    #unique-header-carousel .unique-carousel-image {
        height: 70vh; /* Adjust height for tablets */
    }
}

@media (max-width: 576px) {
    #unique-header-carousel .unique-carousel-image {
        height: 50vh; /* Further adjust for mobile devices */
    }
}

/* Custom carousel button styles */
.unique-carousel-prev,
.unique-carousel-next {
    color: #fff;
}

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


















/* General Styles */
.featured-products-section {
    padding: 50px 10px;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .featured-products-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  .featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .featured-product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .featured-product-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .featured-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .featured-product-info {
    padding: 20px;
  }
  
  .featured-product-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .featured-read-more {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .featured-read-more:hover {
    background-color: #0056b3;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .featured-products-title {
      font-size: 2rem;
    }
  
    .featured-product-name {
      font-size: 1rem;
    }
  
    .featured-read-more {
      padding: 8px 16px;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 576px) {
    .featured-products-title {
      font-size: 1.5rem;
    }
  
    .featured-product-name {
      font-size: 1rem;
    }
  
    .featured-read-more {
      padding: 8px 12px;
      font-size: 0.8rem;
    }
  }
  













/* General Section Styling */
.youtube-section {
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    padding: 60px 0;
  }
  
  .youtube-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #222;
  }
  
  .youtube-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Responsive Grid for Videos */
  .youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  /* Styling Each Video Card */
  .video-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    height: 0;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Prevent interaction unless hovered */
    transition: opacity 0.3s ease;
  }
  
  /* Hover Effect: Play Video */
  .video-card:hover iframe {
    pointer-events: auto; /* Allow interaction */
    opacity: 1;
  }
  
  .video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* CTA Button Styling */
  .view-more {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #007bff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .view-more:hover {
    background: #0056b3;
    transform: scale(1.1);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .youtube-section h2 {
      font-size: 2rem;
    }
  
    .youtube-section p {
      font-size: 1rem;
    }
  
    .view-more {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }
  
  @media (max-width: 576px) {
    .youtube-grid {
      grid-template-columns: 1fr; /* Single column for smaller screens */
    }
  
    .video-card {
      padding-top: 60%; /* Adjust aspect ratio for better fit */
    }
  }
  
  
  








/* Custom Styling for Service Section */
#services-section {
    background-color: #f4f6f9;
}

#services-row {
    display: flex; /* Use flexbox to align items horizontally */
    flex-wrap: nowrap; /* Prevent wrapping of items */
    justify-content: space-between; /* Distribute items evenly */
    margin-top: 30px;
}

.service-item-custom {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px 20px; /* Adjusted padding for better spacing */
    flex: 1; /* Ensures equal width for each service item */
    margin: 0 10px; /* Adding margin between items */
}

.service-item-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

.service-description {
    font-size: 1rem;
    color: #666;
    padding-top: 10px;
}

#service-item-1:hover .service-icon,
#service-item-2:hover .service-icon,
#service-item-3:hover .service-icon,
#service-item-4:hover .service-icon,
#service-item-5:hover .service-icon {
    color: #28a745;  /* Green color on hover for icons */
}

#service-item-1 .service-title,
#service-item-2 .service-title,
#service-item-3 .service-title,
#service-item-4 .service-title,
#service-item-5 .service-title {
    color: #007bff; /* Blue color for titles */
}

/* Mobile First */
@media (max-width: 767px) {
    #services-row {
        flex-wrap: wrap; /* Allow wrapping on mobile screens */
    }

    .service-item-custom {
        padding: 20px;
        flex: 1 1 100%; /* Take full width on small screens */
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    /* Stacking the services vertically on mobile */
    .col-12 {
        margin-bottom: 20px;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    #services-row {
        flex-wrap: wrap; /* Allow wrapping on tablet screens */
    }

    .service-item-custom {
        padding: 25px;
        flex: 1 1 48%; /* Two items per row on tablets */
    }

    .service-icon {
        font-size: 2.8rem;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 1rem;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    #services-row {
        flex-wrap: nowrap; /* No wrapping for desktop sizes */
    }

    .service-item-custom {
        padding: 30px;
        flex: 1 1 18%; /* Adjust for 5 items in a single row */
    }

    .service-icon {
        font-size: 3rem;
    }

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

    .service-description {
        font-size: 1rem;
    }
}

/* Large Screen (1200px and up) */
@media (min-width: 1200px) {
    #services-row {
        flex-wrap: nowrap; /* No wrapping for large screens */
    }

    .service-item-custom {
        padding: 40px;
        flex: 1 1 18%; /* Maintain 5 items in one row */
    }

    .service-icon {
        font-size: 3.5rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 1.1rem;
    }
}

/* LED TV or Extra Large Screen */
@media (min-width: 1600px) {
    .service-item-custom {
        padding: 50px;
        flex: 1 1 18%; /* Maintain the 5 items layout */
    }

    .service-icon {
        font-size: 4rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1.2rem;
    }
}












/* Prevent horizontal scrolling */
body, html {
    overflow-x: hidden; /* Hide horizontal overflow */
    margin: 0;           /* Remove any default margin */
    padding: 0;          /* Remove any default padding */
}

.container-fluid {
    max-width: 100%; /* Ensure the container doesn't overflow */
}

/* Ensure no child element overflows */
* {
    box-sizing: border-box; /* Make sure padding and border are included in element's total width */
}

/* Specific elements you might want to check */
#services-section {
    overflow: hidden; /* Hide overflow inside the section */
}

#services-row {
    overflow: hidden; /* Hide overflow inside the row */
}













/* Ensures no conflicts with other carousels */
#testimonial-carousel .testimonial-item {
    transition: all 0.3s ease-in-out;
}

#testimonial-carousel .testimonial-item:hover {
    transform: scale(1.05); /* Adds a zoom effect on hover */
}

.bg-testimonial {
    background-color: #1a1a1a; /* Dark background for contrast */
}







.youtube-video-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.youtube-video {
  flex: 0 0 auto; /* Prevents the video containers from shrinking */
  width: 100%;  /* Default width for small screens */
  max-width: 500px; /* Maximum size for each video */
  border-radius: 8px;
}

.youtube-video iframe {
  width: 100%;
  height: 280px;  /* Increase height for larger videos */
  border-radius: 8px;
}

.youtube-video-wrapper::-webkit-scrollbar {
  height: 8px;
}

.youtube-video-wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.youtube-video-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.youtube-section .btn {
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .youtube-video {
    max-width: 90%;  /* On mobile, make the videos responsive */
  }

  .youtube-video iframe {
    height: 200px;  /* Reduce height on mobile */
  }
}

@media (min-width: 768px) {
  .youtube-video {
    max-width: 300px;  /* Increase video size on tablet */
  }
}
