
#cybersecui .case-card {
  background: #00000000;
  border-radius: 20px;
  padding: 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px
}

#cybersecui .case-card .box-content {
  max-width: 370px
}

#cybersecui  .case-card .box-title {
  font-size: 30px;
  margin-bottom: 30px
}

@media (max-width: 1199px) {
  #cybersecui  .case-card .box-title {
    font-size: 26px
  }
}

#cybersecui  .case-card .ot-btn {
  margin-top: 40px
}

@media (max-width: 1199px) {
  #cybersecui .case-card .box-content {
    max-width: 270px
  }
}

@media (max-width: 767px) {
  .brand-strip h3 {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0px;
}
    .brand-strip {
        display: flex;
        gap: 30px;
        background: #0e1e60;
        padding: 10px 19px;
        border-radius: 21px;
        overflow-x: auto;
        justify-content: space-around;
        flex-direction: column;
    }
  #cybersecui .case-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    border-radius: 10px;
    gap: 35px
  }

  #cybersecui .case-card .box-img {
    width: 100%
  }

  #cybersecui .case-card .box-img img {
    width: 100%
  }

  #cybersecui .case-card .box-content {
    max-width: 100%
  }

  #cybersecui .case-card .box-title {
    margin-bottom: 25px
  }

  #cybersecui .case-card .ot-btn {
    margin-top: 35px
  }
}
#cybersecui .case-content {
  position: relative;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* FULL IMAGE */
#cybersecui .case-content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* ZOOM IMAGE ON HOVER */
#cybersecui .case-content:hover img {
  transform: scale(1.1);
  opacity: 0;
}

/* OVERLAY */
.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.3),
    transparent
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

/* TITLE ALWAYS VISIBLE */
.case-overlay h2 {
  font-size: 18px;
  margin: 0;
}

/* HIDE TEXT INITIALLY */
.case-overlay p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
}

/* SHOW TEXT ON HOVER */
#cybersecui .case-content:hover .case-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* CARD HOVER */
#cybersecui .case-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* MOBILE */
@media (max-width: 640px) {
  #cybersecui .case-content {
    height: 300px;
  }
}
/* CASE WRAPPER */
.case-wrapper {
  max-width: 1400px;
  margin: auto;
}

/* FORCE GRID FOR TAB CONTENT */
.tab-content .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* CARD STYLE */
#cybersecui .case-content {
  background: #0f172a;
  color: #fff;
  padding: 24px;
  border-radius: 14px;
  height: 375px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#cybersecui .case-content h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

#cybersecui .case-content p,
#cybersecui .case-content li {
  font-size: 14px;
  line-height: 1.6;
}

/* HOVER EFFECT */
#cybersecui .case-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* REMOVE BOOTSTRAP COLUMN EFFECT */
.tab-content .col-lg-3,
.tab-content .col-lg-4 {
  width: 100%;
}

/* TABLET */
@media (max-width: 1024px) {
  .tab-content .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .tab-content .row {
    grid-template-columns: 1fr;
  }
}


/* CARD BASE */
#cybersecui .case-content {
  background: #0f172a;
  color: #fff;
  padding: 24px;
  border-radius: 14px;
  height: 100%;
  position: relative;
  overflow: hidden;
  height: 375px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* TITLE ALWAYS VISIBLE */
#cybersecui .case-content h2 {
    font-size: 19px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    line-height: 25px;
    text-align: left;
}
/* HIDE TEXT INITIALLY */
#cybersecui .case-content p,
#cybersecui .case-content ul {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#cybersecui .case-content p,
#cybersecui .case-content ul {
    font-family: var(--body-font);
    margin: 43px 0 18px 0;
    color: #ffffff;
    line-height: 1.75;
     text-align: left; 
}
/* SHOW TEXT ON HOVER */
#cybersecui .case-content:hover p,
#cybersecui .case-content:hover ul {
  opacity: 1;
  transform: translateY(0);
}

/* CARD HOVER EFFECT */
#cybersecui .case-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* OPTIONAL DARK OVERLAY EFFECT */
#cybersecui .case-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

#cybersecui .case-content:hover::after {
  opacity: 1;
}

/* KEEP TEXT ABOVE OVERLAY */
#cybersecui .case-content * {
  position: relative;
  z-index: 2;
}
