/* =====================================
   SMART GLITTER HEADING
===================================== */

.glitter-heading{

    position:relative;

    display:inline-block;

    font-size:clamp(26px, 5vw, 52px);

    font-weight:800;

    line-height:1.3;

    letter-spacing:1px;

    text-align:center;

    padding-bottom:35px;

    background:linear-gradient(
        90deg,
        #1056EB,
        #00c6ff,
        #ffffff,
        #044161,
        #1056EB
    );

    background-size:300% auto;

    color:transparent;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    animation:glitterText 4s linear infinite;

    overflow:visible;
}

/* =====================================
   MAIN UNDERLINE
===================================== */

.glitter-heading::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:180px;

    height:5px;

    border-radius:50px;

    background:#00c6ff;

    box-shadow:
        0 0 10px rgba(0,198,255,0.8),
        0 0 20px rgba(16,86,235,0.5);

    display:block;

    z-index:10;

    animation:smartLine 3s ease-in-out infinite alternate;
}

/* =====================================
   SMALL DECORATIVE LINE
===================================== */

.glitter-heading::before{

    content:"";

    position:absolute;

    left:50%;

    bottom:-10px;

    transform:translateX(-50%);

    width:70px;

    height:5px;

    border-radius:50px;

    background:#1056EB;

    display:block;

    z-index:10;

    animation:smallLine 2s ease-in-out infinite alternate;
}

/* =====================================
   TEXT ANIMATION
===================================== */

@keyframes glitterText{

    0%{
        background-position:0% center;
    }

    100%{
        background-position:300% center;
    }
}

/* =====================================
   UNDERLINE ANIMATION
===================================== */

@keyframes smartLine{

    0%{
        width:180px;
    }

    100%{
        width:240px;
    }
}

/* =====================================
   SMALL LINE ANIMATION
===================================== */

@keyframes smallLine{

    0%{
        width:60px;
    }

    100%{
        width:90px;
    }
}


/* =====================================
   GLOWING UNDERLINE TEXT
===================================== */

.glow-underline{

    position:relative;

    display:inline-block;

    padding-bottom:2px; /* very small gap */

    color:#044161;

    font-weight:700;
}

/* GLOW UNDERLINE */
.glow-underline::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:3px;

    border-radius:50px;

    background:#00c6ff;

    box-shadow:
        0 0 5px #00c6ff,
        0 0 10px #00c6ff,
        0 0 15px rgba(0,198,255,0.8);

    animation:glowLine 2s ease-in-out infinite alternate;
}

/* ANIMATION */
@keyframes glowLine{

    0%{
        opacity:0.7;
        transform:scaleX(0.95);
    }

    100%{
        opacity:1;
        transform:scaleX(1);
    }
}

/* =====================================
   Table Total row background color
===================================== */
/* =====================================
   TABLE HEADER DESIGN
===================================== */

.table{
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
}

/* Table Header */
.table thead th{

    background-color:#04689F;

    font-weight:500;

    color:#fff;
}

/* Top Left Corner */
.table thead tr th:first-child{

    border-top-left-radius:12px;
}

/* Top Right Corner */
.table thead tr th:last-child{

    border-top-right-radius:12px;
}



tr.total td{

    background-color:#04689F;

    color:#fff;
}
/* =====================================
  faculty-card DESIGN
===================================== */
.faculty-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden; /* IMPORTANT */
    text-align: center;
}


/* Image container style */
.faculty-card img {
    width: 200px;
    height: 220px;
    /*object-fit: fill;*/  /* 🔥 THIS stretches image */
    object-fit: contain;
    border-radius: 10px;
    display: block;
    border:6px solid #ffffff;   /* white border */
    
    
    box-shadow:
        -8px 12px 20px rgba(0,0,0,0.30),
        0 0 12px rgba(255,255,255,0.9);

    transition:0.4s ease;
      margin:0 auto;   /* centers image */
}


/* HOVER EFFECT */
.faculty-card img:hover{
    transform:scale(1.03);

    box-shadow:
        0 0 25px rgba(255,255,255,1),
        0 15px 35px rgba(0,0,0,0.35);
}

/* =====================================
  faculty-card DESIGN
===================================== */
.faculty-modal-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.modal-left img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.modal-right {
  flex: 1;
}

.modal-right p {
  margin: 6px 0;
  line-height: 1.4;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .faculty-modal-layout {
    flex-direction: column;
    align-items: center;
  }

  .modal-left img {
    width: 150px;
  }
}
.modal-content.faculty-modal-layout {
  display: flex !important;
  flex-direction: row;   /* force side-by-side */
  align-items: flex-start;
  gap: 10px;
}
/**/
.modal-left {
  flex: 0 0 220px;   /* fixed width for image */
}

.modal-left img {
  width: 100%;
  border-radius: 8px;
}

.modal-right {
  flex: 1;
}
.modal-content {
  text-align: center;
}
.modal-content {
  max-width: 700px;  /* increase width */
  width: 90%;
}

.info-grid {
  display: grid;
  grid-template-columns: 200px 1fr; /* fixed label column */
  gap: 8px 15px;
  align-items: start;
   font-size: 14px;
}

.label {
  font-weight: 600;
  color: #222;
  text-align: right;
  white-space: nowrap; /* prevents label breaking */
}

.value {
  color: #555;
  text-align: left;
  word-break: break-word;
}




.label::after {
  content: ":";
  position: absolute;
  right: -10px;
}


/* Improve spacing */
.modal-right {
  padding-top: 10px;
}

/* Button styling (optional upgrade) */
.modal-right .btn {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .label {
    text-align: left;
  }

  .label::after {
    position: static;
    margin-left: 5px;
  }
}
.modal-right {
  text-align: left !important;
}

/*======================================
    Reduce space below section title
========================================*/  

.section-title{
    margin-bottom:30px !important;
    padding-bottom:0 !important;
}

/* Remove heading bottom margin */
.section-title h2{
    margin-bottom:5px !important;
}

/* Remove paragraph top gap */
.section-title + p{
    margin-top:0 !important;
    padding-top:0 !important;
}