/* IoT Page Index CSS */

/* CSS Variables */
:root {
  --font-size-base: 16px;
  --font-size-3xl: 18px;
  --font-size-33xl: 33px;
  --font-heebo: Heebo-Regular;
  --color-white: #ffffff;
  --padding-3xs: 12px;
  --padding-5xl: 32px;
  --padding-13xl: 80px;
  --padding-15xl: 120px;
  --gap-3xs: 12px;
  --br-7xs: 4px;
}

/* Additional IoT-specific styles */
.lets-connect {
  position: relative;
  font-size: var(--font-size-base);
  text-transform: uppercase;
  font-family: var(--font-heebo);
  color: var(--color-white);
  text-align: left;
}

/* Enhanced button animations */
.button,
.button1 {
  position: relative;
  overflow: hidden;
}

.button::before,
.button1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.button:hover::before,
.button1:hover::before {
  left: 100%;
}

/* Enhanced navigation arrows */
.icon-mediumicon-button-fille,
.icon-mediumicon-button-fille1,
.ic-previous {
  position: relative;
  overflow: hidden;
}

.icon-mediumicon-button-fille:hover::before,
.icon-mediumicon-button-fille1:hover::before,
.ic-previous:hover::before {
  width: 100%;
  height: 100%;
}

/* Enhanced tab styling */
.tab-nav {
  position: relative;
  overflow: hidden;
}

.tab-nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #4d359d;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.tab-nav:hover::before {
  width: 100%;
}

.tab-active::before {
  width: 100%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Enhanced slider dots */
.slider-dot-inner,
.slider-dot-child {
  transition: all 0.3s ease;
  position: relative;
}

.slider-dot-inner::before,
.slider-dot-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #4d359d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.slider-dot-inner:hover::before,
.slider-dot-child:hover::before {
  width: 100%;
  height: 100%;
}

/* Enhanced section transitions */
.outer1,
.outer2,
.outer4 {
  position: relative;
  overflow: hidden;
}

.outer1::before,
.outer2::before,
.outer4::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 53, 157, 0.05),
    transparent
  );
  transition: left 0.8s ease;
}

.outer1:hover::before,
.outer2:hover::before,
.outer4:hover::before {
  left: 100%;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced scroll to top button */
.goTop {
  transition: all 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.goTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Enhanced case study tabs */
.tab-content {
  opacity: 1;
  transform: none;
  /* transition: all 0.5s ease; */
}

.tabContent-active {
  opacity: 1;
  transform: none;
}

/* Enhanced responsive design */
@media (max-width: 1024px) {
  .banner::before {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .banner::before {
    display: none;
  }

  .testimonials-card-quote .top::before {
    display: none;
  }
}

/* Print styles */
@media print {
  .banner,
  .button,
  .button1,
  .goTop {
    display: none !important;
  }

  .banner .text {
    color: #000000 !important;
    background: #ffffff !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .banner {
    background: #000000 !important;
    color: #ffffff !important;
  }

  .button,
  .button1 {
    border: 2px solid #ffffff !important;
  }

  .testimonials-card-quote {
    border: 2px solid #000000 !important;
  }
}

/* Case Study Navigation CSS */
.icon-next-previous .vector-icon7 {
  width: 24px !important;
  position: relative !important;
  height: 24px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.ic-previous {
  cursor: pointer;
  border: none;
  padding: var(--padding-3xs) 0;
  width: 40px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.icon-next-previous {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  padding-bottom: 10px;
}

.case-study1 {
  align-items: center;
}

#all-content {
  justify-content: flex-start !important;
  align-items: start !important;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.tab-content {
  overflow: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.tab-content::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.case-study-imagesdefault {
  flex: 0 0 auto;
  min-width: 300px;
  max-width: 350px;
}

/* Style the disabled button */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* If you want to style the image inside the disabled button */
button:disabled .vector-icon7 {
  opacity: 0.5;
}

.case-studysec-inner-container {
  overflow: hidden;
  width: 100%;
  max-width: 944px;
}

/* For smoother scrolling animation */
@keyframes scrollCards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-180%);
  }
}

/* IoT Offerings Section - Responsive Design */
.iot-offerings {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.offerings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.offerings-title {
  text-align: center;
  margin-bottom: 60px;
}

.offerings-title h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  font-family: "Heebo", sans-serif;
  position: relative;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.offering-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.offering-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offering-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.offering-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 20px 20px;
  color: white;
}

.offering-title-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  font-family: "Heebo", sans-serif;
}

.offering-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(77, 53, 157, 0.95);
  color: white;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.offering-card:hover .offering-overlay {
  opacity: 1;
}

.offering-content h3 {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 700;
  font-family: "Heebo", sans-serif;
  text-align: left;
}

.offering-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
  text-align: justify;
}

/* Mobile and Tablet Content Display */
.offering-mobile-content {
  display: none;
  padding: 20px;
  background: white;
}

.offering-mobile-content h3 {
  margin: 0 0 15px 0;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  font-family: "Heebo", sans-serif;
  line-height: 1.3;
}

.offering-mobile-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  font-family: "Open Sans", sans-serif;
  text-align: left;
}

/* Tablet Responsive Design */
@media screen and (max-width: 1024px) {
  .offerings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .offering-card {
    height: auto;
    min-height: 450px;
  }

  .offerings-title h2 {
    font-size: 42px;
  }

  /* Completely disable hover effects on tablet */
  .offering-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  /* Hide overlay effects on tablet */
  .offering-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .offering-title-overlay {
    display: none !important;
  }

  /* Show mobile content */
  .offering-mobile-content {
    display: block;
  }

  .offering-image {
    height: 250px;
  }

  .offering-content h3 {
    font-size: 22px;
  }

  .offering-content p {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .iot-offerings {
    padding: 60px 0;
  }

  .offerings-container {
    padding: 0 15px;
  }

  .offerings-title {
    margin-bottom: 40px;
  }

  .offerings-title h2 {
    font-size: 36px;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .offering-card {
    height: auto;
    min-height: 400px;
  }

  /* Completely disable hover effects on mobile */
  .offering-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .offering-card:hover .offering-image img {
    transform: none;
  }

  /* Hide overlay effects on mobile */
  .offering-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .offering-title-overlay {
    display: none !important;
  }

  /* Show mobile content */
  .offering-mobile-content {
    display: block;
  }

  .offering-image {
    height: 200px;
  }

  .offering-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .offering-content p {
    font-size: 14px;
    line-height: 1.2;
  }
}

/* Mobile Responsive Design */
@media screen and (max-width: 480px) {
  .iot-offerings {
    padding: 40px 0;
  }

  .offerings-container {
    padding: 0 10px;
  }

  .offerings-title {
    margin-bottom: 30px;
  }

  .offerings-title h2 {
    font-size: 28px;
  }

  .offerings-grid {
    gap: 20px;
    margin-top: 25px;
  }

  .offering-card {
    height: auto;
    min-height: 350px;
    border-radius: 15px;
  }

  /* Completely disable hover effects on small mobile */
  .offering-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .offering-card:hover .offering-image img {
    transform: none;
  }

  /* Hide overlay effects on small mobile */
  .offering-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .offering-title-overlay {
    display: none !important;
  }

  /* Show mobile content */
  .offering-mobile-content {
    display: block;
  }

  .offering-image {
    height: 180px;
  }

  .offering-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .offering-content p {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* Small Mobile Devices */
@media screen and (max-width: 360px) {
  .offerings-title h2 {
    font-size: 24px;
  }

  .offering-card {
    height: auto;
    min-height: 300px;
  }

  /* Completely disable hover effects on very small mobile */
  .offering-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .offering-card:hover .offering-image img {
    transform: none;
  }

  /* Hide overlay effects on very small mobile */
  .offering-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .offering-title-overlay {
    display: none !important;
  }

  /* Show mobile content */
  .offering-mobile-content {
    display: block;
  }

  .offering-image {
    height: 150px;
  }

  .offering-content h3 {
    font-size: 16px;
  }

  .offering-content p {
    font-size: 12px;
  }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .iot-offerings {
    padding: 30px 0;
  }

  .offerings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .offering-card {
    height: auto;
    min-height: 250px;
  }

  /* Completely disable hover effects on landscape mobile */
  .offering-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .offering-card:hover .offering-image img {
    transform: none;
  }

  /* Hide overlay effects on landscape mobile */
  .offering-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .offering-title-overlay {
    display: none !important;
  }

  /* Show mobile content */
  .offering-mobile-content {
    display: block;
  }

  .offering-image {
    height: 120px;
  }

  .offering-content h3 {
    font-size: 16px;
  }

  .offering-content p {
    font-size: 12px;
  }
}

@media screen and (max-width: 600px) {
  .case-studysec-inner-container {
    width: 100%;
    gap: 30px;
  }

  .icon-next-previous {
    gap: 15px;
    margin-top: 10px;
  }

  .ic-previous {
    width: 35px;
    height: 35px;
  }

  .icon-next-previous .vector-icon7 {
    width: 20px !important;
    height: 20px !important;
  }
}
