/* ==========================================================
   about.css
   Styles for uop.php (and reusable for InRO/Functions/etc.
   sub-pages that share the same banner + sidebar layout)
   ========================================================== */

/* ---------- Page banner (split: text half + curved photo half) ---------- */
/* ==========================================================
   about-banner.css
   ========================================================== */

.about-banner{
  display:flex;
  align-items:stretch;
  min-height:220px;
  background:var(--navy);
  overflow:hidden;
  position:relative;
}

.about-banner-left{
  flex:0 0 320px;
  display:flex;
  align-items:center;
}

.about-banner-left .container{
  padding: 30px 20px 30px max(20px, calc((100vw - var(--max-width)) / 2 + 20px));
}

.about-banner-left h1{
  color:var(--text-light);
  font-size:38px;
  font-weight:800;
  letter-spacing:1px;
  margin:0 0 14px;
}

.about-banner-left .breadcrumb{
  font-size:14px;
  color:var(--text-muted);
}

.about-banner-left .breadcrumb a{
  color:var(--text-muted);
  text-decoration:none;
  transition:color var(--transition);
}

.about-banner-left .breadcrumb a:hover{
  color:var(--gold);
}

.about-banner-left .breadcrumb span{
  margin:0 8px;
  color:#7d8bb0;
}

.about-banner-left .breadcrumb .current{
  color:var(--gold);
  font-weight:600;
  margin:0;
}

.about-banner-photo{
  flex:1;
  position:relative;
  min-height:220px;
  clip-path:polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-banner-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.about-banner::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:5px;
  background:linear-gradient(90deg, transparent 30%, var(--gold) 55%, var(--gold) 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .about-banner-left{ flex-basis:280px; }
  .about-banner-left h1{ font-size:30px; }
}

@media (max-width: 700px){
  .about-banner{
    flex-direction:column;
    min-height:0;
  }
  .about-banner-left{
    flex-basis:auto;
  }
  .about-banner-left .container{
    padding:24px 20px 16px;
    text-align:center;
  }
  .about-banner-left h1{ font-size:26px; }
  .about-banner-photo{
    min-height:180px;
    clip-path:none;
    order:2;
  }
}

@media (max-width: 420px){
  .about-banner-left h1{ font-size:22px; }
  .about-banner-photo{ min-height:150px; }
}
/* ---------- Main content grid ---------- */
.about-content{ padding:50px 0; background:#fafbfd; }
.about-grid{
  display:grid;
  grid-template-columns: 2.2fr 1fr;
  gap:40px;
  align-items:start;
}

/* ---------- Left: text + photo ---------- */
.about-top{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:34px;
  align-items:start;
  margin-bottom:34px;
}
.about-text h2{
  color:var(--navy);
  font-size:26px;
  margin-bottom:6px;
  position:relative;
  padding-bottom:14px;
}
.about-text h2::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:50px; height:3px;
  background:var(--gold);
}
.about-text p{
  color:#555;
  font-size:14.5px;
  line-height:1.75;
  margin-top:16px;
}
.about-photo img{
  width:100%;
  height:100%;
  min-height:230px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* ---------- Stats row ---------- */
.about-stats{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.stat-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  padding:20px 16px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 24px rgba(11,31,77,.1);
}
.stat-icon{
  width:44px; height:44px;
  border-radius:8px;
  background:#eef1fb;
  color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  margin-bottom:12px;
}
.stat-top{ display:flex; flex-direction:column; margin-bottom:10px; }
.stat-value{
  font-size:22px;
  font-weight:800;
  color:var(--gold-dark);
  line-height:1.2;
}
.stat-label{
  font-size:13px;
  color:var(--navy);
  font-weight:600;
}
.stat-card p{
  font-size:12px;
  color:#777;
  line-height:1.5;
}

/* ---------- 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;
}

/* =====================================================
   CGE - OUR COMMITMENT BOX
   Specific styles only for this section
   ===================================================== */

.cge-commitment-box {
    background: #ffffff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Gold Award Icon */
.cge-commitment-box .cge-commitment-icon {
    color: #d4a24c;
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
}

/* Navy Blue Heading */
.cge-commitment-box .cge-commitment-title {
    color: #001f3f;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
}

/* White Text */
.cge-commitment-box .cge-commitment-text {
    color: #ffffff;
    background: #001f3f;
    padding: 15px 18px;
    margin: 0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.7;
}





/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .about-banner{ flex-direction:column; min-height:auto; }
  .about-banner-left{ flex:none; width:100%; padding:34px 0; }
  .about-banner-photo{
    position:relative;
    width:100%;
    height:220px;
    clip-path:none;
    -webkit-clip-path:none;
  }
  .about-banner-photo::before{ display:none; }

  .about-grid{ grid-template-columns:1fr; }
  .about-top{ grid-template-columns:1fr; }
  .about-stats{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  .about-stats{ grid-template-columns:1fr; }
}