/* IoT Page Custom CSS */
/* IoT-specific component enhancements and styling */

/* IoT Offerings Section */
.iot-offerings {
  padding: 80px 0;
  background: #f8f9fa;
}

.offerings-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.offerings-title {
  text-align: center;
  margin-bottom: 60px;
}

.offerings-title h2 {
  font-size: 48px;
  font-weight: 700;
  color: #333333;
  margin: 0;
  font-family: Heebo-Bold, sans-serif;
}

.offerings-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
  gap: 20px;
  margin-top: 40px;
}

.offering-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.offering-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.offering-image {
  position: relative;
  width: 100%;
  height: 391px;
  overflow: hidden;
}

.offering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Default visible title overlay */
.offering-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 20px 24px;
  z-index: 2;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.offering-title-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: Heebo-Bold, sans-serif;
  line-height: 120%;
}

/* Detailed content overlay */
.offering-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000e6;
  opacity: 0.9;
  color: #ffffff;
  padding: 32px;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0.6s ease;
  backdrop-filter: blur(10px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  visibility: hidden;
  pointer-events: none;
}

.offering-card:hover .offering-overlay {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0.6s ease;
}

.offering-card:hover .offering-title-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.offering-content {
  width: 100%;
}

.offering-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-family: Heebo-Bold, sans-serif;
  line-height: 1.2;
}

.offering-content p {
  font-size: 15px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  font-family: Heebo-Regular, sans-serif;
  opacity: 0.95;
}
@media (max-width: 1224px) {
  .offering-title-overlay h3 {
    font-size: 16px;
  }
  .offering-overlay {
    padding: 16px;
  }
}

/* Responsive adjustments for offerings */
@media (max-width: 1024px) {
  .scalable-custom-built-iot {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0.2%;
  }
  .springct-provides-unique {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.2%;
  }
  .offerings-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  .images-icon {
    width: 500px;
    height: 500px;
  }
  .offering-image img {
    border-radius: 12px;
  }

  .offering-image {
    height: 280px;
    padding: 10px;
    border-radius: 16px;
  }

  .offering-overlay {
    padding: 24px;
  }

  .offering-title-overlay h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .scalable-custom-built-iot {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.2%;
  }
  .springct-provides-unique {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.2%;
  }
  .iot-offerings {
    padding: 60px 0;
  }

  .offerings-title h2 {
    font-size: 36px;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offering-image {
    height: 250px;
  }

  .offering-overlay {
    padding: 20px;
  }

  .offering-content h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .offering-content p {
    font-size: 14px;
  }

  .offering-title-overlay h3 {
    font-size: 20px;
  }

  .offering-title-overlay {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .iot-offerings {
    padding: 40px 0;
  }

  .offerings-title h2 {
    font-size: 28px;
  }

  .offerings-title {
    margin-bottom: 40px;
  }

  .offering-image {
    height: 220px;
  }

  .offering-overlay {
    padding: 16px;
  }

  .offering-title-overlay h3 {
    font-size: 18px;
  }

  .offering-title-overlay {
    padding: 12px 16px;
  }
}

/* Technology Stack Section */
.tech-stack {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tech-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tech-item .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: 24px;
}

.tech-item .name {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.tech-item .description {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
}

/* Process Flow Section */
.process-flow {
  padding: 80px 0;
  background: #ffffff;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, #4caf50, #8bc34a, #cddc39);
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.process-step .title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.process-step .description {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* Metrics Dashboard */
.metrics-dashboard {
  background: linear-gradient(135deg, #4d359d 0%, #684770 100%);
  padding: 80px 0;
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-card .number {
  font-size: 48px;
  font-weight: 800;
  color: #4caf50;
  margin-bottom: 16px;
  display: block;
}

.metric-card .label {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.metric-card .description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Security Features */
.security-features {
  padding: 80px 0;
  background: #f8f9fa;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.security-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #4caf50;
  transition: all 0.3s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.security-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 28px;
}

.security-card .title {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

.security-card .description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.security-card .features {
  list-style: none;
}

.security-card .features li {
  padding: 6px 0;
  color: #555555;
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.security-card .features li::before {
  content: "🔒";
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* Case Study Enhancements */
.case-study .case-study-imagesdefault {
  position: relative;
  overflow: hidden;
}

.case-study .case-study-imagesdefault::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1),
    rgba(139, 195, 74, 0.1)
  );
  opacity: 0;
}
/* 
.case-study .case-study-imagesdefault:hover::before {
  opacity: 1;
}

.case-study .case-study-imagesdefault .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(77, 53, 157, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
} */

.case-study .case-study-imagesdefault:hover .overlay {
  opacity: 1;
}

.case-study .overlay .view-more {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

/* Button Enhancements */
.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 ease;
}

.button:hover::before,
.button1:hover::before {
  left: 100%;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .tech-item {
    padding: 20px;
  }

  .process-step .step-number {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .metric-card {
    padding: 24px;
  }

  .metric-card .number {
    font-size: 36px;
  }
}

/* Case Study Display Fix */
.case-study .cs {
  display: flex !important;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
}

.case-study .cs.tabContent-active {
  opacity: 1 !important;
  transform: none !important;
}

.case-study .case-study-imagesdefault {
  min-width: 218px;
  flex-shrink: 0;
}
