/* ==================== CAROUSEL ==================== */
.carousel-item {
  height: 30rem;
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 100%;
  background-size: cover;     
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-caption {
  text-align: center;
  padding: 1rem;
}

.carousel-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.link-btn-carousel {
  border-radius: 30px !important;
  font-size: 1.5rem;
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  white-space: normal;
  max-width: 90%;
  text-align: center;
}

/* Responsividade carousel */
@media (max-width: 992px) {
  .carousel-item {
    height: 22rem;
  }
  .carousel-title {
    font-size: 2rem;
  }
  .link-btn-carousel {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 16rem;
  }
  .carousel-title {
    font-size: 1.4rem;
  }
  .link-btn-carousel {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    max-width: 100%;
  }
}

/* ==================== SERVICES ==================== */
.section-header {  
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
  gap: 1.65rem;
  justify-content: start; /* garante alinhamento à esquerda */
}

.service-card {
  background: #ffffff;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-align: start;
  max-width: 368px;
  
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 4px;
  background: linear-gradient(90deg, #37623D, #49a078, #377946);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Ícone */
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,  #37623D, #377946);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Texto */
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
}

.service-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 0 !important;
  line-height: 1.6;
  text-align: justify;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: #333;
}

.service-features li::before {
  content: "✔";  
  position: absolute;
  left: 0;
  top: 0;
  color: #27ae60;
  font-weight: bold;
}

.carousel-soc{
    background-image: url('https://strapi.cherokee.com.br/uploads/SOC_23bb248b08.jpeg')
}

.carousel-cybersecurity{
    background-image: url('https://strapi.cherokee.com.br/uploads/Cybersecurity_f5af6d925d.jpeg')
}

.carousel-phishing{
    background-image: url('https://strapi.cherokee.com.br/uploads/Phishing_4469ba2ec0.jpeg')
}

.carousel-cherokee{
    background-image: url('https://strapi.cherokee.com.br/uploads/cherokee_5b0d5275df.webp')
}

.carousel-seguranca{
    background-image: url('https://strapi.cherokee.com.br/uploads/Seguranca_da_Informacao_b6c49016c4.jpeg')
}

.carousel-ti{
    background-image: url('https://strapi.cherokee.com.br/uploads/Tecnologia_da_informacao_eda908c67b.jpg')
}

.carousel-business-continuity{
    background-image: url('https://strapi.cherokee.com.br/uploads/Continuidade_de_negocios_318d6b2cfd.jpg')
}

/* Responsividade services */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }
  .service-title {
    font-size: 1.2rem;
  }
  .service-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 card por linha */
    gap: 1.5rem;
  }
  .service-card {
    padding: 1.2rem;
  }
  .service-title {
    font-size: 1.1rem;
  }
  .service-description {
    font-size: 0.9rem;
  }
}
