/* ===============================
   COMMON INNER PAGE STYLES
   =============================== */

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

/* ===============================
   SECTION TITLE – GMR BRAND LINE
   =============================== */
.section-title {
    position: relative;
    display: inline-block;   /* keeps underline bound to text width */
    padding-bottom: 12px;    /* space for underline */
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;                 /* 🔑 force start from LEFT */
    bottom: 0;
    width: 110px;
    height: 5px;
    background: linear-gradient(
        to right,
        #003974 0%,
        #003974 33%,
        #ED1C24 33%,
        #ED1C24 66%,
        #FAAB53 66%,
        #FAAB53 100%
    );
    border-radius: 2px;
}



.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Sidebar */
.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #003060;
    padding-bottom: 8px;
}

.sidebar-links,
.glance-list,
.journey-list {
    list-style: none;
    padding-left: 0;
}

.sidebar-links li,
.glance-list li {
    margin-bottom: 10px;
}

.sidebar-links a {
    text-decoration: none;
    color: #003060;
    font-weight: 500;
}

.sidebar-links a:hover {
    text-decoration: underline;
}

/* Animation */
.fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive sidebar stacking */
@media (max-width: 991px) {
    .inner-page .col-lg-4 {
        order: 2;
        margin-top: 40px;
    }

    .inner-page .col-lg-8 {
        order: 1;
    }
}
/* ===============================
   COLUMN SEPARATION
   =============================== */

@media (min-width: 992px) {
    .inner-main {
        position: relative;
        padding-right: 35px;
    }

    .inner-main::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(
            to bottom,
            transparent,
            #d9dee5,
            transparent
        );
    }

    .inner-sidebar {
        padding-left: 35px;
    }
}
/* ===============================
   SECTION DIVIDERS
   =============================== */

.inner-divider {
    border-top: 1px solid #e6ebf1;
    margin: 40px 0;
}
/* Sidebar accent */
.sidebar-links li {
    position: relative;
    padding-left: 14px;
}

.sidebar-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #cfd8e3;
    border-radius: 50%;
}

.sidebar-links a:hover {
    color: #003060;
}
.journey-list li::before {
    color: #003060;
}/* ===== Program Hero ===== */
.program-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  color: #fff;
}

.program-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.program-hero .container {
  position: relative;
  z-index: 2;
}

.program-hero .hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ===== HOD SECTION ===== */

.hod-section{
background:#f8fbff;
}

.hod-card{
background:#fff;
border-radius:18px;
box-shadow:0 12px 30px rgba(0,0,0,.08);
padding:40px;
position:relative;
overflow:hidden;
}

.hod-card::before{
content:"";
position:absolute;
left:0;
top:0;
width:6px;
height:100%;
background:#1b75bc; /* GMR blue */
}

.hod-photo{
width:230px;
height:260px;
object-fit:cover;
border-radius:14px;
box-shadow:0 8px 18px rgba(0,0,0,.15);
}

.hod-name{
font-size:24px;
font-weight:700;
color:#0d2c5a;
font-family:'Playfair Display',serif;
margin-top:10px;
}

.hod-designation{
font-size:16px;
color:#1b75bc;
font-weight:600;
margin-bottom:6px;
}

.hod-qualification{
font-size:14px;
color:#777;
margin-bottom:15px;
}

.hod-message{
font-size:15px;
line-height:1.8;
color:#444;
}

.hod-quote{
font-size:36px;
color:#1b75bc;
opacity:.15;
position:absolute;
right:20px;
top:10px;
}

/* ===== PEO SECTION ===== */

.peo-section{
background:#f3f3f3;
}

/* Circle */

.peo-circle{
width:260px;
height:260px;
margin:auto;
border-radius:50%;
border:18px solid #d6d6d6;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
background:#fff;
position:relative;
}

.peo-circle h2{
font-size:48px;
font-weight:700;
margin:10px 0;
}

/* dots */

.peo-dots{
display:flex;
gap:8px;
}

.dot{
width:12px;
height:12px;
border-radius:50%;
display:inline-block;
}

.blue{background:#1b75bc;}
.red{background:#c4161c;}
.yellow{background:#f1c40f;}


/* PEO Cards */

.peo-card{
background:#ff3b3b;
color:#fff;
padding:18px 25px;
border-radius:10px;
font-size:15px;
line-height:1.7;
box-shadow:0 8px 18px rgba(0,0,0,.15);
transition:.3s;
}

.peo-card:hover{
transform:translateY(-4px);
box-shadow:0 10px 22px rgba(0,0,0,.2);
}

.po-box{
background: linear-gradient(135deg,#f2b642,#f6c35e);
padding:40px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.po-box ul{
list-style:circle;
padding-left:25px;
}

.po-box li{
margin-bottom:18px;
font-size:15px;
line-height:1.7;
color:#0f2a55;
}

/* ===== PO / PSO SECTION ===== */

.po-box{
background: linear-gradient(135deg,#f2b642,#f6c35e);
padding:50px;
border-radius:16px;
box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* grid layout */

.outcome-container{
display:grid;
grid-template-columns:1fr;
gap:22px;
}

/* card */

.outcome-card{
display:flex;
align-items:flex-start;
gap:18px;
background:#fff;
padding:20px 24px;
border-radius:12px;
box-shadow:0 6px 15px rgba(0,0,0,.08);
transition:.3s;
}

.outcome-card:hover{
transform:translateY(-4px);
box-shadow:0 12px 28px rgba(0,0,0,.15);
}

/* PO badge */

.outcome-code{
min-width:60px;
height:60px;
background:#0d2c5a;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-weight:700;
border-radius:10px;
font-size:14px;
}

/* PSO badge color */

.pso-code{
background:#8b1e3f;
}

/* text */

.outcome-text{
font-size:15px;
line-height:1.7;
color:#1d3557;
}
/* PEO badge */

.peo-code{
background:#c62828;
}

/* PEO card */

.peo-style{
background:#fff;
border-left:6px solid #c62828;
}

/* GMR Brand Colors */

.text-gmr-blue{
color:#0d2c5a;
}

/* PEO card */

.peo-style{
background:#fff;
border-left:6px solid #d2232a;
box-shadow:0 6px 18px rgba(0,0,0,.08);
transition:.3s;
}

.peo-style:hover{
transform:translateY(-4px);
box-shadow:0 12px 28px rgba(0,0,0,.15);
}

/* PEO badge */

.peo-code{
background:#0d2c5a;
color:#fff;
font-weight:700;
}

/* ===== Card Motion ===== */

.outcome-card{
transition:all .35s ease;
}

.outcome-card:hover{
transform:translateY(-8px) scale(1.02);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* Program cards */

.program-card{
transition:all .35s ease;
}

.program-card:hover{
transform:translateY(-10px);
box-shadow:0 22px 45px rgba(0,0,0,.18);
}

/* HOD card */

.hod-card{
transition:all .35s ease;
}

.hod-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 45px rgba(0,0,0,.12);
}

/* ===== Card Motion ===== */

.outcome-card{
transition:all .35s ease;
}

.outcome-card:hover{
transform:translateY(-8px) scale(1.02);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* Program cards */

.program-card{
transition:all .35s ease;
}

.program-card:hover{
transform:translateY(-10px);
box-shadow:0 22px 45px rgba(0,0,0,.18);
}

/* HOD card */

.hod-card{
transition:all .35s ease;
}

.hod-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.department-hero h1{
animation:fadeSlide 1.2s ease;
}

.department-hero p{
animation:fadeSlide 1.6s ease;
}

@keyframes fadeSlide{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

.peo-circle{
animation:floatCircle 5s ease-in-out infinite;
}

@keyframes floatCircle{

0%{transform:translateY(0px);}
50%{transform:translateY(-10px);}
100%{transform:translateY(0px);}

}
.peo-section{
background:linear-gradient(135deg,#f8fbff,#eef4fb);
position:relative;
overflow:hidden;
}

.peo-section:before{
content:'';
position:absolute;
width:300px;
height:300px;
background:rgba(13,44,90,.05);
border-radius:50%;
top:-120px;
right:-120px;
}

/* ===== PROGRAMS SECTION ===== */

.programs-section{
background:linear-gradient(135deg,#f8fbff,#eef4fb);
}

/* program card */

.program-card{
background:#fff;
border-radius:16px;
padding:30px 25px;
height:100%;
text-align:center;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:all .35s ease;
position:relative;
overflow:hidden;
}

.program-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(0,0,0,.15);
}

/* icon */

.program-icon{
font-size:36px;
color:#0d2c5a;
margin-bottom:15px;
}

/* title */

.program-title{
font-weight:600;
color:#0d2c5a;
margin-bottom:10px;
}

/* description */

.program-desc{
font-size:14px;
color:#5c6b7a;
min-height:60px;
}

/* footer */

.program-footer{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:20px;
}

/* level badge */

.program-level{
background:#f2b642;
color:#0d2c5a;
font-weight:600;
padding:5px 12px;
border-radius:20px;
font-size:12px;
}

/* explore button */

.program-btn{
text-decoration:none;
background:#d2232a;
color:#fff;
padding:6px 14px;
border-radius:20px;
font-size:13px;
transition:.3s;
}

.program-btn:hover{
background:#0d2c5a;
color:#fff;
}

/* ===== VISION MISSION SECTION ===== */

.vision-mission-section{
background:linear-gradient(135deg,#f8fbff,#eef4fb);
}

/* card */

.vm-card{
background:#fff;
padding:40px;
border-radius:18px;
height:100%;
text-align:center;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:all .35s ease;
position:relative;
}

.vm-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 45px rgba(0,0,0,.15);
}

/* icons */

.vm-icon{
font-size:42px;
margin-bottom:15px;
}

.vision-card .vm-icon{
color:#0d2c5a;
}

.mission-card .vm-icon{
color:#d2232a;
}

/* title */

.vm-title{
font-weight:600;
color:#0d2c5a;
margin-bottom:15px;
}

/* vision text */

.vm-text{
font-size:15px;
line-height:1.7;
color:#4c5c6b;
}

/* mission list */

.vm-list{
list-style:none;
padding-left:0;
text-align:left;
margin-top:15px;
}

.vm-list li{
position:relative;
padding-left:28px;
margin-bottom:10px;
font-size:14px;
color:#4c5c6b;
}

/* bullet */

.vm-list li:before{
content:"✓";
position:absolute;
left:0;
top:0;
color:#f2b642;
font-weight:700;
}

/* ===== HIGHLIGHTS SECTION ===== */

.dept-highlights{
background:#f8fbff;
}

/* card */

.highlight-card{
background:#fff;
padding:30px 20px;
border-radius:12px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.35s;
position:relative;
border-top:4px solid #0d2c5a;
}

.highlight-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* icon */

.highlight-icon{
font-size:32px;
color:#d2232a;
margin-bottom:10px;
}

/* number */

.highlight-number{
font-size:28px;
font-weight:700;
color:#0d2c5a;
}

/* title */

.highlight-title{
font-size:20px;
color:#f2b642;
margin-top:6px;
font-weight:500;
}
.highlight-subtitle{
color:#0d2c5a;
font-weight:600;
margin-bottom:15px;
}