@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

img { max-width: 100%;}

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

.cg-page *{ box-sizing: border-box; }
.cg-page img{
    max-width: 100%;
    display:block; }
.cg-page a{ text-decoration:none; color:inherit; }
.cg-page ul{ list-style:none; margin:0; padding:0; }

/* ================= HERO ================= */
.cg-hero{
    position: relative;
    /* margin-top: -100px; */
    min-height: 720px;
    height: 103vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.cg-hero__img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
.cg-hero__overlay{
    position:absolute;
    inset:0;
}
.cg-hero__title{
    position:relative;
    z-index:2;
    color:#fff;
    /* font-family: var(--font-head); */
    font-family: 'LEMONMILK-Bold';
    font-weight:800;
    font-size:56px;
    letter-spacing:6px;
    text-shadow: 0 6px 24px rgba(0,0,0,.35);
    margin:0;
    margin-top: 140px;
}

/* ================= COMPANY BLOCKS (blob layout) ================= */
.cg-block{
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}
.cg-block__inner{
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* gap: 60px; */
    padding: 0 0;
    position: relative;
    z-index: 2;
}
.cg-block__inner-right{
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    /* gap: 60px; */
    padding: 0 0;
    position: relative;
    z-index: 2;
    align-items: end;
}
.cg-block__inner-left{
    margin: 0 auto;
    display: grid;
    grid-template-columns:2fr 1fr;
    align-items: center;
    /* gap: 60px; */
    padding: 0 0;
    position: relative;
    z-index: 2;
    align-items: end;
}

.cg-block__text h2 {
    font-family: 'LEMONMILK-Bold';
    color: #0066CC;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: .5px;
    margin: 0 0 18px;
    white-space: nowrap;
    margin-left: 50px;

}

.cg-list li{
    position: relative;
    font-family: 'Rubik-Regular';
    font-size: 20px;
    font-weight: 300;
    padding-left: 22px;
    margin-bottom: 12px;
    margin-left: 50px;
    color: #0066CC;
}

.cg-list li::before{
    position: absolute;
    font-family: 'LEMONMILK-Bold';
    content: '>';
    left: 0;
    top: 0;
    color: #0066CC;
    font-weight: 800;

}

/* ================= WAVE SECTIONS ================= */
.cg-wave{
    position: relative;
    min-height: 880px;
    display: flex;
    align-items: center;
    /* overflow: hidden; */
    padding-bottom: 10px;
}
.cg-wave__media{
    position: absolute;
    /* inset: 0; */
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cg-wave__text{
    position: relative;
    z-index: 2;
    max-width: 810px;
    margin-left: 60%;
    margin-top: -30%;
    padding: 20px;
    text-align: center;
}

.cg-wave__text h2{
    font-family: 'LEMONMILK-Bold';
    color: #0066CC;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: .5px;
    /* margin: 0 0 18px; */
}
.cg-wave__text p{
    font-family: 'Rubik-Regular';
    color: #0066CC;
    font-size: 24px;
    font-weight: 10px;
    line-height: 1.5;
    /* font-weight: 600; */
    margin: 0;
}
.cg-wave__text--light{
    margin-left: 5%;
    margin-right: 40%;
    margin-top: -50%;
    color: #0066CC;
}

.cg-wave--02{ flex-direction: row-reverse; }


    .bg-cycle-companies{
        background: #cfe8fb;
        width: 550px;
        position: absolute;
        height: 550px;
        margin-right: -15%;
        border-radius: 50%;
        right: 0;
        margin-top: 0px;
        z-index: 1;
    }
    .cg-decor--bottom-right{
        background: #cfe8fb;
        width: 550px;
        position: absolute;
        height: 550px;
        margin-right: -15%;
        border-radius: 50%;
        right: 0;
        margin-top: 0px;
        z-index: 1;
    }
    .cg-decor--bottom-left{
        background: #cfe8fb;
        width: 450px;
        height: 450px;
        position: absolute;
        margin-left: -22%;
        border-radius: 50%;
        left: 0;
        bottom: 0;
        margin-bottom: -150px;
    }
    .cg-decor--inter-mattrid-left{
        background: #cfe8fb;
        width: 600px;
        height: 600px;
        position: absolute;
        margin-left: -10%;
        border-radius: 50%;
        left: 0;
        top: 0;
        margin-top: 130px;
    }
    .cg-decor--bottom-right{
        background: #cfe8fb;
        width: 300px;
        height: 300px;
        margin-right: -10%;
        border-radius: 50%;
        right: 0;
        bottom: 20%;
        margin-bottom: 40px;
        z-index: auto;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px){
    .cg-nav{ display:none; } /* hook this up to a mobile menu toggle */
    .cg-hero__title{ font-size:38px; letter-spacing:3px; }
    .cg-block__inner{ grid-template-columns: 1fr; }
    .cg-block__inner-right{ grid-template-columns: 1fr; }
    .cg-block__inner-left{ grid-template-columns: 1fr; }
    .cg-block--img-right .cg-block__inner .cg-block__text{ order:2; }
    .cg-wave{ flex-direction:column !important; padding: 40px 20px; min-height:auto;overflow: hidden; }
    .cg-wave__media,
    .cg-wave__media--right{ position:static; width:100%; height:260px; left:auto; right:auto; }
    .cg-wave__svg{ display:none; }
    .cg-wave__text,
    .cg-wave__text--light{ margin:24px 0 0; max-width:100%; }
    .cg-footer__inner{ grid-template-columns:1fr; text-align:center; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .two-col, .two-col.reverse { flex-direction: column; }
    .president-card { flex-direction: column; padding: 40px 30px; text-align: center; }
    .president-photo { margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    /* .social-list li a { justify-content: center; } */
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 30px; }
    .section { padding: 60px 0; }
    .container { padding: 0 22px; }
    .see-all-link { position: static; transform: none; margin-top: 20px; justify-content: center; }
    .products-flex { flex-direction: column; }
}


/* ==========================
   Responsive Hero Section
========================== */

/* Laptop */
@media (max-width: 1200px) {

    .cg-hero {
        min-height: 620px;
        height: 85vh;
    }

    .cg-hero__title {
        font-size: 48px;
        letter-spacing: 5px;
    }

}

/* Tablet */
@media (max-width: 992px) {

    .cg-hero {
        margin-top: -80px;
        min-height: 520px;
        height: 70vh;
    }

    .cg-hero__title {
        font-size: 40px;
        letter-spacing: 4px;
        text-align: center;
        padding: 0 20px;
    }

}

/* Small Tablet */
@media (max-width: 768px) {

    .cg-hero {
        margin-top: 0;
        min-height: 420px;
        height: 60vh;
    }

    .cg-hero__title {
        font-size: 32px;
        letter-spacing: 3px;
        line-height: 1.3;
        text-align: center;
        padding: 0 20px;
    }

}

/* Mobile */
@media (max-width: 576px) {

    .cg-hero {
        min-height: 340px;
        height: 50vh;
    }

    .cg-hero__title {
        font-size: 26px;
        letter-spacing: 2px;
        line-height: 1.3;
        padding: 0 15px;
    }

}

/* Small Mobile */
@media (max-width: 400px) {

    .cg-hero {
        min-height: 280px;
        height: 42vh;
        margin-top:-60px;
    }

    .cg-hero__title {
        font-size: 22px;
        letter-spacing: 1px;
        padding: 0 12px;
    }

}

/* ==========================
   Responsive Company Block
========================== */

/* Laptop */
@media (max-width: 1200px) {

    .cg-block {
        padding: 50px 20px;
    }

    .cg-block__inner {
        gap: 40px;
    }
    .cg-block__inner-left {
        gap: 40px;
    }
    .cg-block__inner-right {
        gap: 40px;
    }

    .cg-block__text h2 {
        font-size: 22px;
        margin-left: 30px;
        white-space: normal;
    }

    .cg-list li {
        font-size: 18px;
        margin-left: 30px;
    }

}

/* Tablet */
@media (max-width: 992px) {

    .cg-block {
        padding: 50px 20px;
    }

    .cg-block__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .cg-block__inner-right {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .cg-block__inner-left {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cg-block--img-left .cg-blob {
        order: 1;
    }
    .cg-decor--bottom-right{
        background: #cfe8fb;
        width: 550px;
        height: 550px;
        margin-right: -15%;
        right: 0;
        margin-top: 0px;
        z-index:1;
    }

    .cg-block--img-left .cg-block__text {
        order: 2;
    }

    .cg-block__text h2 {
        margin-left: 0;
        font-size: 22px;
        white-space: normal;
    }

    .cg-list {
        display: inline-block;
        text-align: left;
        padding: 0;
    }

    .cg-list li {
        margin-left: 0;
        font-size: 18px;
    }

}

/* Mobile */
@media (max-width: 768px) {

    .cg-block {
        padding: 40px 16px;
    }

    .cg-block__inner {
        gap: 30px;
    }
    .cg-block__inner-left {
        gap: 30px;
    }
    .cg-block__inner-right {
        gap: 30px;
    }

    .cg-block__text h2 {
        font-size: 20px;
        line-height: 1.4;
    }

    .cg-list li {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .cg-decor--bottom-right{
        background: #cfe8fb;
        width: 550px;
        height: 550px;
        margin-right: -15%;
        right: 0;
        margin-top: 0px;
        z-index:1;
    }

}

/* Small Mobile */
@media (max-width: 576px) {

    .cg-block {
        padding: 35px 0px;
    }

    .cg-block__text h2 {
        font-size: 18px;
        letter-spacing: 0.3px;
    }

    .cg-list li {
        font-size: 16px;
        padding-left: 18px;
    }

    .cg-list li::before {
        font-size: 14px;
    }
    .cg-decor--bottom-right{
        background: #cfe8fb;
        width: 550px;
        height: 550px;
        margin-right: -15%;
        right: 0;
        margin-top: 0px;
        z-index:1;
    }

}

/* Extra Small Mobile */
@media (max-width: 400px) {

    .cg-block__text h2 {
        font-size: 16px;
    }

    .cg-list li {
        font-size: 15px;
        line-height: 1.5;
    }
    .bg-cycle-companies{
        background: #cfe8fb;
        width: 200px;
        height: 200px;
        position: absolute;
        margin-right: -30%;
        border-radius: 50%;
        right: 0;
        bottom:0;
        margin-top: 0px;
        z-index: 1;
    }
    .cg-decor--bottom-left{
        background: #cfe8fb;
        width: 200px;
        height: 200px;
        position: absolute;
        margin-left: -30%;
        border-radius: 50%;
        left: 0;
        bottom: 0;
        margin-bottom: 0px;
    }
    .cg-decor--bottom-right {
        background: #cfe8fb;
        width: 250px;
        height: 250px;
        margin-right: -40%;
        right: 0;
        margin-bottom: 0px;
        z-index: 1;
        bottom: 0;
    }
    .cg-decor--inter-mattrid-left {
        background: #cfe8fb;
        width: 300px;
        height: 300px;
        position: absolute;
        margin-left: -32%;
        border-radius: 50%;
        left: 0;
        bottom: 0;
        margin-top: 250px;
    }

}

/* =====================================
   Responsive Wave Section
===================================== */

/* Large Laptop */
@media (max-width: 1200px) {

    .cg-wave {
        min-height: 700px;
    }

    .cg-wave__text {
        max-width: 520px;
        margin-left: 50%;
        margin-top: -12%;
    }

    .cg-wave__text--light {
        margin-left: 5%;
        margin-right: 48%;
        margin-top: -12%;
    }

    .cg-wave__text h2 {
        font-size: 22px;
    }

    .cg-wave__text p {
        font-size: 18px;
    }

}


/* Tablet */
@media (max-width: 992px) {

    .cg-wave {
        min-height: auto;
        padding: 60px 20px;
        display: block;
    }

    .cg-wave__media {
        position: relative;
        width: 100%;
        height: auto;
    }

    .cg-wave__media img,
    .cg-wave__media svg {
        width: 100%;
        height: auto;
        display: block;
    }

    .cg-wave__text,
    .cg-wave__text--light {
        position: relative;
        max-width: 100%;
        margin: 40px auto 0;
        padding: 0 20px;
        text-align: center;
    }

    .cg-wave__text h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .cg-wave__text p {
        font-size: 18px;
        line-height: 1.7;
    }

}


/* Mobile */
@media (max-width: 768px) {

    .cg-wave {
        padding: 40px 16px;
    }

    .cg-wave__text,
    .cg-wave__text--light {
        margin-top: 30px;
        padding: 0px 10px;
    }

    .cg-wave__text h2 {
        font-size: 20px;
    }

    .cg-wave__text p {
        font-size: 17px;
        line-height: 1.7;
    }

}


/* Small Mobile */
@media (max-width: 576px) {

    .cg-wave {
        padding: 30px 0px;
    }

    .cg-wave__text h2 {
        font-size: 18px;
    }

    .cg-wave__text p {
        font-size: 16px;
    }

}


/* Extra Small Mobile */
@media (max-width: 400px) {

    .cg-wave__text h2 {
        font-size: 16px;
        line-height: 1.4;
        padding: 0px 10px;
    }

    .cg-wave__text p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* Tablet & Mobile */
@media (max-width: 992px) {

    .cg-wave {
        display: flex;
        flex-direction: column;
    }

    .order1 {
        order: 1;
    }

    .order2 {
        order: 2;
    }

    .p-order1 {
        order: 1;
    }

    .p-order2 {
        order: 2;
    }
}


/* Targets screens wider than typical 16-inch laptop viewports (~1600px+) */
@media screen and (min-width: 1600px) {
  .cg-wave {
        position: relative;
        min-height: 1100px;
        display: flex;
        align-items: center;
        /* overflow: hidden; */
        padding-bottom: 10px;
    }
    .cg-wave__text p {
        font-family: 'Rubik-Regular';
        color: #0066CC;
        font-size: 28px;
        font-weight: 10px;
        line-height: 1.7;
        margin: 0 10px;
    }
    .cg-list li{
        font-size: 28px;
    }
}

/* Targets large desktop monitors (1920px / Full HD and above) */
@media screen and (min-width: 1920px) {
    .cg-wave {
        position: relative;
        min-height: 1200px;
        display: flex;
        align-items: center;
        padding-bottom: 10px;
    }
    .cg-wave__text p {
        font-family: 'Rubik-Regular';
        color: #0066CC;
        font-size: 28px;
        font-weight: 10px;
        line-height: 1.7;
        margin: 0 10px;
    }
    .cg-list li{
        font-size: 28px;
    }
}



/* Card Wrapper */
    .company-card {
      /* background-color: #fff; */
      border-radius: 16px;
      padding: 30px 10px;
      /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
      position: relative;
      overflow: hidden;
      margin:0px 10px;
    }

    /* Background Pattern Graphic */
    .company-card::after {
      content: '';
      position: absolute;
      right: -20px;
      bottom: -20px;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, rgba(11, 37, 89, 0.04) 0%, transparent 70%);
      pointer-events: none;
    }

    .card-title {
      color: var(--primary-blue);
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      text-align: left;
      margin-bottom: 25px;
    }

    /* Content Layout */
    .card-content {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .main-logo {
      width: 80px;
      height: 80px;
      background-color: var(--icon-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .main-logo svg {
      width: 42px;
      height: 42px;
      fill: none;
      stroke: var(--primary-blue);
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Metrics Grid */
    .metrics-grid {
      display: flex;
      flex: 1;
      justify-content: space-between;
      align-items: flex-start;
    }

    .metric-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 5px;
      position: relative;
      font-family: 'Rubik-Regular';
        font-size: 20px;
        font-weight: 300;
        color: #0066CC;
    }

    .metric-item:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 0;
      top: 10%;
      height: 80%;
      width: 1px;
      background-color: var(--border-color);
    }

    .metric-icon {
      width: 38px;
      height: 38px;
      background-color: var(--icon-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
    }

    .metric-icon svg {
      width: 20px;
      height: 20px;
      fill: none;
      stroke: var(--primary-blue);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .metric-value {
      color: var(--primary-blue);
      font-weight: 700;
      font-size: 1.05rem;
      line-height: 1.25;
    }

    .metric-label {
      color: var(--text-muted);
      font-size: 0.85rem;
      margin-top: 4px;
      line-height: 1.3;
    }

    /* Responsive Breakdown */
    @media (max-width: 768px) {
      .card-content {
        flex-direction: column;
      }

      .metrics-grid {
        flex-wrap: wrap;
        gap: 20px 0;
      }

      .metric-item {
        flex: 1 0 50%;
      }

      .metric-item:not(:last-child)::after {
        display: none;
      }
    }

/* Container must stretch items to equal height */
.metrics-grid {
  display: flex;
  align-items: stretch; /* Ensures all items take 100% height of the container */
}

/* Add vertical border that spans 100% height */
.metric-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
  border-right: 1px solid #e0e6ed; /* Full-height right border */
}

/* Hide border on the last item */
.metric-item:last-child {
  border-right: none;
}
.metric-item {
  position: relative;
  padding: 0 15px;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%; /* Spans 100% relative to the metric item height */
  width: 1px;
}