/* ============================================
   ROLOF IMT – ABOUT PAGE STYLESHEET
   about.css — companion to style2.css
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    min-height: 200px;
    background: linear-gradient(rgba(4, 43, 107, 0.82), rgba(4, 43, 107, 0.72)),
                url('../images/campus.png') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    width: 100%;
    padding: 30px 0 40px;
}

.page-hero-content {
    color: #fff;
}

.about-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
}

.about-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
}

.about-breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
    font-size: 14px;
}

.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.3);
}

.page-hero-subtitle {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 400;
    margin: 0;
}

/* ============================================
   ABOUT INTRO
   ============================================ */
.about-intro {
    background: #fff;
}

.intro-image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.intro-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    display: block;
}

.intro-badge {
    position: absolute;
    bottom: -20px;
    right: 24px;
    background: var(--primary-dark);
    color: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(4,43,107,0.3);
    border: 3px solid var(--accent-color);
}

.badge-years {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-color);
}

.badge-years sup {
    font-size: 18px;
}

.badge-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.about-title::after {
    left: 0;
    transform: none;
}

.intro-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.7;
}

.intro-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.itag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eef1fb;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 30px;
    border: 1px solid #d0d8f0;
}

.itag i {
    color: var(--primary-color);
}

/* ============================================
   STORY / HORIZONTAL TIMELINE
============================================ */

.timeline-horizontal{
position:relative;
display:flex;
justify-content:space-between;
gap:40px;
margin-top:25px;
}

/* horizontal line */

.timeline-horizontal::before{
content:'';
position:absolute;
top:35px;
left:0;
width:100%;
height:3px;
background:linear-gradient(to right,var(--primary-color),var(--accent-color));
z-index:1;
}

/* block */

.timeline-block{
flex:1;
text-align:center;
position:relative;
z-index:2;
}

/* circle */

.timeline-circle{
width:70px;
height:70px;
background:var(--primary-color);
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-weight:700;
margin:0 auto 15px auto;
border:5px solid #fff;
box-shadow:0 6px 18px rgba(0,0,0,0.2);
}

/* card */

.timeline-card{
background:#fff;
padding:25px;
border-radius:14px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.timeline-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 35px rgba(0,0,0,0.15);
}

/* icon */

.tcard-icon{
width:45px;
height:45px;
background:var(--primary-color);
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:0 auto 12px;
font-size:18px;
}

/* highlight */

.highlight-card{
background:#fff8e6;
border-top:4px solid var(--accent-color);
}

/* text */

.timeline-card h5{
font-size:18px;
font-weight:700;
margin-bottom:10px;
}

.timeline-card p{
font-size:14px;
color:var(--text-light);
line-height:1.7;
}

@media(max-width:768px){

.timeline-horizontal{
flex-direction:column;
gap:40px;
}

.timeline-horizontal::before{
display:none;
}

.timeline-block{
text-align:left;
}

.timeline-circle{
margin-left:0;
}

}

/* ============================================
   VISION & MISSION
   ============================================ */
.vision-mission-section {
    background: #fff;
}

.vm-card {
    padding: 40px 36px;
    border-radius: 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.vision-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
}

.mission-card {
    background: linear-gradient(135deg, #1a6e3e, #198754);
    color: #fff;
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.vm-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 16px;
    line-height: 1.75;
    opacity: 0.92;
    margin: 0;
}

/* ============================================
   CORE VALUES
   ============================================ */
.core-values-section {
    background: #f5f7fb;
}

.arise-banner {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.arise-banner span {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
    transition: all 0.3s ease;
}

.arise-banner span:hover {
    background: var(--accent-color);
    color: #333;
    transform: translateY(-4px);
}

.value-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-top-color: var(--accent-color);
}

.value-letter {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.value-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.motto-strip {
    background: var(--primary-dark);
    color: #fff;
    padding: 20px 32px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    letter-spacing: 0.5px;
}

.motto-strip i {
    color: var(--accent-color);
    font-size: 22px;
}

/* ============================================
   GOVERNANCE
   ============================================ */
.governance-section {
    background: #fff;
}

.governance-intro {
    font-size: 16px;
    color: var(--text-light);
    max-width: 680px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.governance-card {
    background: #f5f7fb;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.governance-card:hover {
    background: #fff;
    border-bottom-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-6px);
}

.gov-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.governance-card:hover .gov-icon {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    color: #333;
}

.governance-card h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.governance-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   RECTOR SECTION
   ============================================ */
.rector-section {
    background: #f5f7fb;
}

.rector-photo-wrap {
    display: inline-block;
    width: 100%;
    max-width: 360px;
}

.rector-photo-placeholder{
animation:floatRect 6s ease-in-out infinite;
}

@keyframes floatRect{
0%{transform:translateY(0px);}
50%{transform:translateY(-6px);}
100%{transform:translateY(0px);}
}

.rector-nameplate {
    background: var(--primary-dark);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
    width:100%;
}

 

.rector-nameplate h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.rector-nameplate span {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 500;
    display:block;
}

.rector-nameplate span:last-child{
white-space:nowrap;

}

.rector-message p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.rector-quote {
    border-left: 4px solid var(--accent-color);
    padding: 16px 20px;
    background: #fff;
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 20px;
    font-style: italic;
}

.rector-quote i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 20px;
}

/* ============================================
   ACADEMIC FOCUS
   ============================================ */
.academic-section {
    background: #fff;
}

.academic-intro {
    font-size: 15px;
    color: var(--text-light);
    max-width: 720px;
    margin: 16px auto 0;
    line-height: 1.8;
}

.academic-card {
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.nd-blue  { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.nd-green { background: linear-gradient(135deg, #198754, #146c43); }
.nd-orange{ background: linear-gradient(135deg, #fd7e14, #c05c00); }

.ac-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
}

.academic-card h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.academic-card p {
    font-size: 14px;
    opacity: 0.88;
    line-height: 1.75;
    margin-bottom: 20px;
}

.ac-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ac-link:hover {
    gap: 10px;
    color: #ffd040;
}

.bootcamp-strip {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 16px;
    padding: 32px 36px;
    color: #fff;
}

.bootcamp-strip h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.bootcamp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bootcamp-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.bootcamp-tags span:hover {
    background: var(--accent-color);
    color: #333;
    border-color: var(--accent-color);
}

/* ============================================
   ACCREDITATION
   ============================================ */
.accreditation-section {
    background: #f5f7fb;
}

.accred-intro {
    font-size: 15px;
    color: var(--text-light);
    max-width: 680px;
    margin: 14px auto 0;
    line-height: 1.8;
}

.accred-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.accred-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    border-top-color: var(--accent-color);
}

.accred-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.accred-card:hover .accred-icon {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    color: #333;
}

.accred-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.accred-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.75;
}

/* ============================================
   PARTNERSHIP
   ============================================ */
.partnership-section {
    background: #fff;
}

.partnership-box {
    background: linear-gradient(135deg, #eef1fb, #f8f9ff);
    border: 1px solid #d0d8f0;
    border-radius: 16px;
    padding: 36px 40px;
}

.partner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.partnership-box h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.partnership-box p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

/* ============================================
   WHY CHOOSE ABOUT
   ============================================ */
.why-about-section {
    background: #f5f7fb;
}

.why-about-item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.why-about-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-left-color: var(--accent-color);
}

.why-about-item i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.why-about-item:hover i {
    color: var(--accent-color);
}

.upgrade-callout {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    padding: 26px 40px;
    border-radius: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.upgrade-callout i {
    font-size: 30px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.upgrade-callout p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.upgrade-callout strong {
    color: var(--accent-color);
}

/* ============================================
   CAMPUSES
   ============================================ */
.campuses-section {
    background: #fff;
}

.campus-card {
    border-radius: 14px;
    padding: 28px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.warri-card {
    background: linear-gradient(135deg, #eef5ff, #f8faff);
    border-left: 5px solid var(--primary-color);
}

.ughelli-card {
    background: linear-gradient(135deg, #fff8e6, #fffdf5);
    border-left: 5px solid var(--accent-color);
}

.campus-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.warri-card .campus-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.ughelli-card .campus-icon {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    color: #333;
}

.campus-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.campus-address {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.campus-address i {
    flex-shrink: 0;
    margin-top: 2px;
}

.campus-desc {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.facilities-sub-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.fac-item {
    background: #f5f7fb;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    height: 100%;
}

.fac-item:hover {
    background: #eef1fb;
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.fac-item i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================
   ABOUT CTA / GET IN TOUCH
   ============================================ */
.about-cta-section {
    background: #f5f7fb;
}

.about-cta-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    padding: 50px 48px;
    color: #fff;
    box-shadow: 0 16px 48px rgba(4, 43, 107, 0.3);
}

.about-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-cta-box p {
    font-size: 15px;
    opacity: 0.88;
    line-height: 1.75;
    margin-bottom: 20px;
}

.cta-contact-details p {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.9;
    line-height: 1.5;
}

.cta-contact-details i {
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.cta-socials {
    display: flex;
    gap: 12px;
}

.cta-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-socials a:hover {
    background: var(--accent-color);
    color: #333;
    border-color: var(--accent-color);
}

.cta-close-text p {
    font-size: 17px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.6;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .page-hero-title { font-size: 34px; }
    .page-hero-subtitle { font-size: 16px; }
    .intro-img { height: 300px; }
    .intro-badge { right: 12px; }
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item.right {
        padding-right: 0;
        padding-left: 70px;
        justify-content: flex-start;
    }
    .timeline-marker {
        left: 20px;
        width: 55px;
        height: 55px;
    }
    .about-cta-box { padding: 36px 28px; }
    .arise-banner span { width: 52px; height: 52px; font-size: 22px; }
}

@media (max-width: 767px) {
    .page-hero { min-height: 200px; }
    .page-hero-title { font-size: 26px; }
    .story-bottom-text { padding: 18px 20px; }
    .bootcamp-strip { padding: 24px 20px; }
    .partnership-box { padding: 24px 20px; }
    .upgrade-callout { flex-direction: column; text-align: center; padding: 24px 20px; }
    .about-cta-box { padding: 28px 20px; }
    .arise-banner { gap: 8px; }
    .arise-banner span { width: 44px; height: 44px; font-size: 18px; border-radius: 8px; }
    .motto-strip { font-size: 15px; padding: 16px 20px; flex-direction: column; gap: 8px; }

    /* Mobile Nav */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 999;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a { display: block; padding: 12px 20px; }
    .menu-toggle { display: block; }
}
