/* ==========================================================================
   cloudSolutions.css - Styles for WakinSoftures Services Page (Cloud Solutions)
   ========================================================================== */

:root {
  --badge-bg: #eff6ff;
  --feature-card-shadow: 0 10px 30px rgba(0, 51, 153, 0.04);
}

/* ---- Breadcrumbs ---- */
.breadcrumb-container {
  padding-top: 100px; /* Offset for fixed navbar */
  padding-bottom: 10px;
  background-color: #f8fafc;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---- Hero Section ---- */
.cloud-hero-section {
  padding: 20px 0 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.badge-solution {
  background-color: var(--badge-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.cloud-hero-section .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.cloud-hero-section .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cloud-hero-section .hero-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-quote-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

.btn-work-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Hero benefits grid */
.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.benefit-item i {
  font-size: 1.45rem;
  color: var(--primary);
  background-color: var(--badge-bg);
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.benefit-text span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.cloud-illustration-wrapper {
  position: relative;
  width: 100%;
  margin-top: -40px;
}

.cloud-hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 51, 153, 0.08));
  animation: floatCloudHero 4s ease-in-out infinite alternate;
}

@keyframes floatCloudHero {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

/* Stats Trust Bar */
.cloud-stats-bar {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.04);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.stats-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

.stats-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stats-content {
  display: flex;
  flex-direction: column;
}

.stats-content strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
}

.stats-content span {
  font-size: 0.78rem;
  color: #64748b;
}

/* ---- Offers Section ---- */
.cloud-offers-section {
  background-color: #ffffff;
  padding: 50px 0;
}

.cloud-section-header {
  margin-bottom: 3.5rem;
}

.cloud-section-tag {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.cloud-offers-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.offer-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--feature-card-shadow);
}

.offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 51, 153, 0.15);
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.08);
}

.offer-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #f0f5ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.offer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.offer-desc {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- Cloud Journey Section ---- */
.cloud-journey-section {
  background-color: #f8fafc;
  padding: 50px 0;
}

.process-flow-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 3rem;
}

.process-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 30px 15px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.06);
}

.node-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.node-step {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.node-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

.process-arrow {
  align-self: center;
  font-size: 1.5rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* ---- Cloud Platforms Section ---- */
.cloud-platforms-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.platform-logo-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 22px 10px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.platform-logo-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.05);
}

.platform-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

.platform-name {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

/* Platform CSS Logos styling */
.aws-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #232f3e;
  letter-spacing: -1px;
}
.azure-logo {
  color: #0078d4;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 6px;
}
.azure-logo i {
  font-size: 1.05rem;
}
.gcp-logo {
  color: #4285f4;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 6px;
}
.gcp-logo i {
  font-size: 1.05rem;
}
.do-logo {
  color: #0080ff;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 5px;
}
.do-logo i {
  font-size: 1.15rem;
}
.vmware-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #6e7074;
  letter-spacing: -1.2px;
}
.oracle-logo {
  font-size: 0.75rem;
  color: #f80000;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.oracle-logo span {
  font-size: 0.55rem;
  color: #4b5563;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ---- Why Choose Section ---- */
.cloud-why-section {
  padding: 50px 0;
  background-color: #f8fafc;
}

.why-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.why-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
}

.why-checklist li i {
  color: var(--primary);
  font-size: 1.2rem;
}

.why-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-build-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Why Choose Image styles */
.why-cloud-img-wrapper {
  position: relative;
  width: 100%;
}

.cloud-why-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 51, 153, 0.05));
  animation: floatCloudWhy 3.5s ease-in-out infinite alternate;
}

@keyframes floatCloudWhy {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Counters Grid */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.counter-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: transform 0.25s, border-color 0.25s;
}

.counter-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.counter-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.counter-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.counter-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  display: block;
}

/* Bottom Action Banner Card */
.cloud-action-banner {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2.25rem 2.75rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.15);
}

.banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.banner-content h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.banner-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.btn-banner-quote {
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 50px;
}

/* ---- Responsive CSS ---- */
@media (max-width: 1199.98px) {
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 991.98px) {
  .breadcrumb-container {
    padding-top: 85px;
  }
  
  .cloud-hero-section {
    text-align: center;
    padding-bottom: 50px;
  }
  
  .cloud-hero-section .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 550px;
    margin: 2rem auto 0;
  }

  .benefit-item {
    text-align: left;
  }
  
  .cloud-illustration-wrapper {
    margin-top: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cloud-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 3rem auto 0;
  }

  .stats-bar-item {
    text-align: left;
  }
  
  .stats-bar-item:nth-child(2)::after {
    display: none;
  }
  
  .process-flow-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .process-node {
    width: 100%;
    max-width: 320px;
  }
  
  .cloud-why-section {
    text-align: center;
  }
  
  .why-checklist {
    max-width: 320px;
    margin: 0 auto 2rem;
    text-align: left;
  }
  
  .why-buttons {
    justify-content: center;
    margin-bottom: 3rem;
  }
  
  .why-cloud-graphic {
    margin: 0 auto 3rem;
  }
  
  .counters-grid {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .cloud-stats-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
  
  .stats-bar-item {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    max-width: 250px;
    margin: 0 auto;
    width: 100%;
  }
  
  .stats-bar-item::after {
    display: none !important;
  }
  
  .cloud-action-banner {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-item {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .counters-grid {
    grid-template-columns: 1fr;
  }
}
