:root{
  --navy: #0b1f4d;
  --navy-dark: #081638;
  --gold: #f0a500;
  --gold-dark: #d99400;
  --text-light: #ffffff;
  --text-muted: #cfd6e6;
  --max-width: 1200px;
  --radius: 6px;
  --transition: 0.3s ease;
}

/* =========================================================
   FUNCTIONS PAGE STYLES
========================================================= */

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

/* ================= PAGE BANNER ================= */
.page-banner {
    position: relative;
    width: 100%;
    height: 315px;
    overflow: hidden;
    background: #0b2352;
}

.banner-flex {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
}


/* =========================
   FULL HERO IMAGE
========================= */

.banner-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.banner-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================
   LEFT DARK / BLURRED AREA
========================= */

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 40px 70px;
    background: rgba(11, 35, 82, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Slanted transition */
.banner-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 150px;
    height: 100%;
    background: rgba(11, 35, 82, 0.88);
    clip-path: polygon( 35% 0, 100% 0, 65% 100%,0 100%);
    z-index: -1;
}


/* =========================
   TITLE
========================= */

.banner-text h1 {
    margin: 0 0 22px 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================
   BREADCRUMB
========================= */

.banner-text .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    font-size: 14px;
}

.banner-text .breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.banner-text .breadcrumb a:hover {
    color: #e1a80b;
}

.banner-text .breadcrumb .sep {
    color: #ffffff;
}

.banner-text .breadcrumb .current {
    color: #e1a80b;
    font-weight: 600;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .page-banner {
        height: 360px;
    }
    .banner-media {
        width: 100%;
    }
    .banner-text {
        width: 100%;
        height: 100%;
        padding: 30px;

        background: rgba(11, 35, 82, 0.85);
    }
    .banner-text::after {
        display: none;
    }
    .banner-text h1 {
        font-size: 30px;
    }
}


/* ================= MAIN LAYOUT ================= */
.functions-page{
  background:#f4f6fb;
  padding:50px 0 60px;
}

.functions-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:34px;
  align-items:start;
}

/* ---------- LEFT: content ---------- */
.section-title{
  font-size:26px;
  font-weight:800;
  color:var(--navy);
  margin:0 0 6px;
  position:relative;
  padding-bottom:14px;
}

.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:60px;
  height:3px;
  background:var(--gold);
}

.section-intro{
  color:#3d4a63;
  font-size:15px;
  line-height:1.6;
  margin:18px 0 30px;
  max-width:800px;
}

.functions-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}

.function-card{
  background:#fff;
  border-radius:var(--radius);
  padding:22px 18px;
  box-shadow:0 2px 10px rgba(11,31,77,.06);
  border:1px solid #eceff5;
  transition:transform var(--transition), box-shadow var(--transition);
}

.function-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(11,31,77,.12);
}

.function-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--navy);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  margin-bottom:14px;
}

.function-card h3{
  font-size:15px;
  font-weight:700;
  color:var(--navy);
  margin:0 0 8px;
  position:relative;
  padding-bottom:8px;
}

.function-card h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:28px;
  height:2px;
  background:var(--gold);
}

.function-card p{
  font-size:13.5px;
  line-height:1.55;
  color:#5a6784;
  margin:0;
}

/* ---------- RIGHT: sidebar ---------- */
.sidebar-menu{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  margin-bottom:20px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}
.sidebar-menu h3{
  color:#fff;
  font-size:16px;
  font-weight:700;
  padding:16px 20px;
  background:var(--navy);
}
.sidebar-menu ul li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  color:var(--navy);
  font-size:14px;
  font-weight:500;
  background:#fff;
  border-top:1px solid #f0f0f0;
  transition:background var(--transition), color var(--transition);
}
.sidebar-menu ul li a i:first-child{
  color:var(--navy);
  width:18px;
  text-align:center;
  transition:color var(--transition);
}
.sidebar-menu ul li a:hover{
  background:#f5f7fb;
  color:var(--navy);
}
.sidebar-menu ul li.active a{
  background:var(--navy);
  color:var(--gold);
  font-weight:700;
}
.sidebar-menu ul li.active a i:first-child{
  color:var(--gold);
}
.sidebar-menu ul li a .arrow{
  margin-left:auto;
  font-size:11px;
  color:var(--gold);
}
.sidebar-commitment{
  position:relative;
  background:var(--gold);
  border:none;
  border-radius:8px;
  padding:22px 20px;
  overflow:hidden;
}
.sidebar-commitment h4{
  color:#fff;
  font-size:15px;
  margin-bottom:10px;
}
.sidebar-commitment p{
  color:#fff;
  font-size:13px;
  line-height:1.6;
  max-width:80%;
}
.commitment-icon{
  position:absolute;
  right:16px;
  bottom:16px;
  font-size:38px;
  color: navy;
}

.commitment-text h4{
  color:var(--gold);
  font-size:16px;
  font-weight:700;
  margin:0 0 8px;
}

.commitment-text p{
  color:var(--text-muted);
  font-size:13.5px;
  line-height:1.5;
  margin:0;
}

.commitment-icon{
  flex:0 0 auto;
  width:54px;
  height:54px;
  border-radius:50%;
  background:rgba(240,165,0,.15);
  color:var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}




/* Unique styling for Our Commitment */
.cge-sidebar-commitment {
    background-color: var(--navy);
    padding: 22px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Heading */
.cge-sidebar-commitment .cge-sidebar-commitment-text h4 {
    color: var(--gold-dark);
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
}

/* Paragraph - gold background and white text */
.cge-sidebar-commitment .cge-sidebar-commitment-text p {
    
    color: #ffffff;
    margin: 0;
    line-height: 1.7;
    font-size: 14px;
}

/* Navy blue icon */
.cge-sidebar-commitment .cge-sidebar-commitment-icon {
    color: var(--gold-dark);
    font-size: 36px;
    flex-shrink: 0;
}




/* ================= RESPONSIVE ================= */
@media (max-width: 992px){
  .functions-layout{
    grid-template-columns:1fr;
  }
  .functions-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .banner-flex{
    flex-direction:column;
  }
  .banner-text{
    flex:none;
  }
  .banner-media{
    min-height:180px;
  }
}

@media (max-width: 560px){
  .functions-grid{
    grid-template-columns:1fr;
  }
  .banner-text h1{
    font-size:28px;
  }
}