@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Reset + sensible defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
}
body {
  color: #111;
  line-height: 1.45;
  overflow-x: hidden;
  background: #f7f7f8;
}

/* Page layout */
.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Cards row (above the banner) */
.cards {
  display: flex;
  flex-direction:column;
  gap: 30px;
  max-width: 1100px;
  /*margin: 60px auto;*/
  padding: 0 0 0 50px;
  width: 100%;
}
.card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(13, 17, 22, 0.06);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
      width: 100%;
    max-width: 350px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; /* Overlay BELOW logo/icon */
}

.card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  color: #fff;
  transition: all 0.3s ease;
  pointer-events: none;
  font-weight: bold;
  z-index: 3; /* Icon above everything */
}

.card img,
.card a {
  position: relative;
  z-index: 2; /* Logo ABOVE overlay */
}
.card img{ width: 100%; max-width: 500px; }
.card-icon img{ width: 100%; max-width: 50px; }
.card:hover .card-overlay {
  opacity: 1;
}

.card:hover .card-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #353535;
}
.card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align:left;
}

/* Hero banner that fits exactly one screen */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* background image */
.hero__bg {
    background-image: url(/assets/banner-cii.webp);
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  filter: brightness(0.86);
  /* transform: scale(1.03); */
  background-repeat: no-repeat;
}
/* subtle gradient overlay to help text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

/* content that sits on top of the banner */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 40px 24px;
  margin: 0 20px;
  text-align: center;
  color: #fff;
}
.hero__content h2 {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.02;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align:left;
}
.hero__content p {
  margin: 30px 0;
  font-size: clamp(14px, 1.6vw, 18px);
  /* color: rgba(255, 255, 255, 0.9); */
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  text-align:left;
}
.hero__cta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
  color: #111;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.12);
}
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.white-logo{
    width: 100%;
    max-width: 200px;
    margin-bottom: 42px;
}
.left-section{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.top-logo{
    position: absolute;
    z-index: 9;
    top: 30px;
    left: 30px;
}
/* Make sure nothing causes vertical overflow when content shrinks on mobile */
@media (max-width: 992px) {
  .cards {
    /* flex-direction: column; */
  }
  .card {
    min-height: 100px;
  }
  .hero__content {
    padding: 28px 16px;
  }
  .hero__content h2{
    line-height: 1.2;
    font-size: 40px !important;
  }
  .hero__content p{
    text-align: justify;
  }
  .cards{
    gap: 18px;
    margin: unset;
  }
  .card-icon img{ width: 100%; max-width: 40px; }
}
@media only screen and (max-width:576px){
    .left-section{
        align-items:center;
    }
    .hero__content h2{
        text-align:center;
        font-size:30px !important;
    }
    .white-logo{
        max-width:150px;
        margin-bottom:20px;
    }
    .cards{
        flex-direction:row;
        padding:0 20px;
    }
}
