/* Service Card - For the card with icon and text */
.service-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.icon-circle img {
    width: 40px;
    height: auto;
}

.swiper {
    padding: 30px 10px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.logoSwiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logoSwiper .swiper-slide:hover {
    opacity: 1;
}

.logoSwiper img {
    max-height: 40px;
    object-fit: contain;
}

/* General Styles for Case Study Card */
.single-it-case-study {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    width: 320px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

/* Full Background Image */
.case-study-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure the image stays in the background */
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire card */
    object-position: center; /* Center the image */
}

/* Case Study Content Styling */
.case-study-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px; /* Padding for better spacing */
    color: #fff;
    text-align: center;
    z-index: 2; /* Content stays on top of the image */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text */
    border-radius: 12px; /* Matching rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
}

/* Icon Styling */
.icon-wrapper {
    background-color: #f1f1f1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.icon-wrapper img {
    max-width: 35px;
    max-height: 35px;
}

/* Category Styling */
.category {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Title Styling */
.project-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

/* Description Styling */
.case-study-description {
    font-size: 14px;
    color: #f0f0f0;
    margin-bottom: 18px;
}

/* Read More Button Styling */
.read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    background-color: #002FF5;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}


.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #000;
}




/* Responsive Design */
@media (max-width: 768px) {
    .single-it-case-study {
        width: 90%;
        height: 350px; /* Adjust height for mobile screens */
    }
}


/* header */
/* Hide mobile toggle button by default */
.mobile-menu-toggle-btn {
  display: none;
}

/* Hamburger button styling */
#mobile-menu-toggle {
  background: linear-gradient(to right, #002FF5 0%, #FFEB3B 100%);
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  position: relative; 
}

/* Mobile-specific styling (Responsive) */
@media (max-width: 575px) {
  #mobile-menu-toggle {
    margin-left: 0; /* Reset fixed margin on mobile */
    position: absolute;
    top: 50px; /* Adjust top margin if needed */
    right: 15px; /* Align it to the right side of the header */
    z-index: 10; /* Ensure it stays above other elements */
  }
}

#mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
}

/* Mobile menu styles */
.mobile-main-menu {
  display: none;
  flex-direction: column;
  background-color: var(--theme-bg, #002FF5);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 10px 20px;
  z-index: 1000;
}

.mobile-main-menu ul {
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.mobile-main-menu ul li {
  display: block;
  margin: 0;
  padding: 10px 0;
}

.mobile-main-menu ul li a {
  padding: 10px;
  color: var(--white);
  text-decoration: none;
  display: block;
}

/* Show toggle button and hide desktop menu on mobile */
@media (max-width: 768px) {
  .mobile-menu-toggle-btn {
    display: block;
  }

  /* Hide desktop main menu */
  .main-header-2 .header-2 .menu .main-menu {
    display: none !important;
  }
}

/* Show mobile menu when active */
.mobile-main-menu.active {
  display: flex;
}

/* hero title mobile */
@media (max-width: 575px) {
    .hero-2 .hero-content {
        padding-top: 120px !important; /* Add enough spacing from top */
        position: relative;
        z-index: 2;
    }

    .hero-2 .hero-content .head-title {
        display: block;
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }
}


.hero-2 .hero-content .head-title.banner-title-line {
    width: fit-content;
}
.feature-single-wrapper .single-feature-image .rc-feature .feature-image{
    max-width: 100%;
}
.single-service-provide-card .icon img{
    width: 150px;
}
.rc-news-block .col-xl-4 .single-news-style-1 , .rc-news-block .wow.fadeInUp .single-service-provide-card  , .rc-news-block .col-xl-3.col-lg-4 .feature-single-box {
    flex: 1;
}
.rc-news-block .col-xl-4.col-lg-6 , .rc-news-block .wow.fadeInUp ,.rc-news-block .col-xl-3.col-lg-4{
    flex: 1;
    display: flex;
    flex-direction: column;
}


.rc-news-block .swiper-wrapper {
  display: flex;
}
.rc-news-block .swiper-slide {
  display: flex;
  flex-direction: column;
}
.rc-news-block .service-card {
  flex: 1;
}