﻿* {
    padding:0;
   margin:0;
   box-sizing:border-box;
  
}
html,body{
    overflow-x:hidden;
    width:100%;
}

.sliderimg img {
    height:400px;
     width:100%;
}
.callc {position:fixed;
        left:2%;
        bottom:5%;
        z-index:998;
     
}
.galleryimg {
    height:250px!important;
    width:100%;
    object-fit:cover!important;
    box-shadow: 0px 0px 16px -8px;
}
.galry {
    width:100%; height:510px;
    object-fit:cover;
}
.logomargin {margin-left:10px;
}
h1 {color:#000;
    font-weight:bold;
    font-family: 'Ubuntu', sans-serif;
    font-size:36px;
}
/*h1 span {border-bottom:2px solid #000;*/
.navbarstyle ul li a {
  margin:0px 7px;
    color:#fff!important;
    font-size:14px;
    font-weight:600;
}
.dropdown-menu {
    background:#D83C00!important;
}
.dropdown-menu a:hover {
    background:none;
}

.div_faci {max-width:100%;
}
h1 {font-weight:bold;
}
.holder-icon i {
    font-size: 50px;
    background: #fdc800;
    padding: 10px;
    line-height: 90px;
    color: #082344;
    height: 105px;
    width: 130px;
    text-align: center;
}
.recruiterheight {
    height:70px;
    width:100%;
}
.Hlinks ul li a {color:#fff!important;
                      text-decoration:none;
}
.f-course {
    background: #fff;
    box-shadow: 0px 0px 16px -8px;
    margin-bottom: 25px;
}
#footerid {background:url('/image/footer-bg.png');
           background-color:#D83C00;
            background-position:center;
                     background-repeat:no-repeat;
                     background-size:cover;
           opacity:0.9;
}
#mynav {
    background:#D83C00!important;
    color:#fff;
}
.centerimg img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

.brk-trapezoid-left {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    z-index: 1;
    overflow: hidden;
}
.extra__heading-3 {
    max-width: 100%;
    padding: 30px 36px 30px 47px;
    border-right: 13px solid rgba(170,170,170,.1);
    border-bottom: 13px solid rgba(170,170,170,.1);
}
.extra__heading-3:before {
    content: '';
    position: absolute;
    background: rgba(170,170,170,.1);
    z-index: -1;
}
.extra__heading-3 .after-heading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(13px,-105%);
    opacity: 0.5;
    font-size: 100px;
    text-transform: uppercase;
    color:black;
}
.extra__heading-3:before {
    top: 0;
    right: 0;
    height: 13px;
    width: calc(100% - 280px);
    margin-right:25px;
}
.font__weight-semibold {
    font-weight: 600;
}
.letter-spacing-20 {
    letter-spacing: .02em!important;
}
.font__family-montserrat {
    font-family: 'Montserrat',sans-serif;
}
.extra__heading-3:after {
    bottom: 0;
    left: 0;
    width: 13px;
    height: calc(100% - 100px);
}
.extra__heading-3:after, .extra__heading-3:before {
    content: '';
    position: absolute;
    background: rgba(170,170,170,.1);
    z-index: -1;
}
.img-double-bigger>.img:last-child:before {
    opacity: 0;
}

.img-double-bigger>.img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,var(--brk-base-3),var(--secondary));
    transition: all .4s ease;
    opacity: .8;
    z-index: 2;
}


.mg-double-bigger {
    position: relative;
    z-index: 2;
    max-width: 100%;
}
.img-double-bigger>.img:last-child {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
}
.img-double-bigger>.img {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: all .4s ease;
}
.img-double-bigger>.img:last-child:before {
    opacity: 0;
}
.img img:hover {
    transform: scale(1.2); 
}
.footerlinks ul li a {
    color:#fff!important;
    text-decoration:none;
}

.officials-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 5px 5px;
    margin-top:10px;
}

.official-card {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 13px;
    padding: 7px 10px;
    min-height: 67px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.official-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    border-color: #d75b42;
}

.official-img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 9px;
}

.official-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.official-info {
    flex: 1;
    min-width: 0;
}

.official-info h5 {
    color: #c94b35;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.3;
    font-family: 'Outfit',sans-serif;
}

.official-info p {
    color: #000;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .officials-list {
        max-width: 100%;
        margin-top:15px;
    }

    .official-card {
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .official-info h5 {
        font-size: 14px;
    }

    .official-info p {
        font-size: 12px;
    }
    .official-info {
        text-align:center;
    }
    .official-img{
        flex: 0 0 70px;
        width: 70px;
        height: 70px;
        overflow: hidden;
        border-radius: 9px;
    }
}

.card-Related {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}



.card-Related {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    padding: 6px;
    text-align: center;
    background-color: #f1f1f1;
}

.card-Related {
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card-Related a {
    text-decoration: none;
    color:#D83C00;
    font-size:15px;
    font-weight:700;
}

.md-message-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

    .md-message-section::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(198, 40, 40, 0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

    .md-message-section::after {
        content: '';
        position: absolute;
        bottom: -60px;
        left: -60px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(13, 54, 110, 0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

/* ---- Photo Wrapper ---- */
.md-photo-wrapper {
    position: relative;
    display: inline-block;
}

.md-photo-frame {
    margin:auto;
    width: 170px;
    height: 170px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(13, 54, 110, 0.18);
    border: 5px solid var(--white);
    position: relative;
    margin: 0 auto;
}



    .md-photo-frame::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(13, 54, 110, 0.55) 100%);
        z-index: 1;
        border-radius: inherit;
    }

.md-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.md-photo-wrapper:hover .md-photo {
    transform: scale(1.04);
}

/* Decorative corner accent */
.md-photo-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-top: 4px solid var(--primary-red);
    border-left: 4px solid var(--primary-red);
    border-radius: 4px;
    z-index: 2;
}

.md-photo-wrapper p.first-Para{
    margin: 0;
    margin-top: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 6px;
    border-bottom: 1px solid gainsboro;
    color:#065ba8;
}

.md-photo-wrapper p.Second-Para {
    font-size:14px;
    margin:0;
    font-weight: 500;
    color: #17507A;
}

/* Badge */
.md-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 24px;
    box-shadow: 0 8px 20px rgba(13, 54, 110, 0.3);
}

    .md-badge i {
        color: var(--primary-red);
        font-size: 16px;
    }

/* ---- Message Content ---- */
.md-message-content {
    padding-left: 20px;
}

.upper-top-principal {
    background:var(--primary-red);
    padding:5px 10px;
    color:#fff;
    font-weight:700;
    border-radius:7px;
    text-align:start;
    margin-bottom:10px;
}

/* Quote Block */
.md-quote-block {
    background: #fff;
    border-radius: 16px;
    padding:0px 20px 10px;
    position: relative;
    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.08);
    margin: 0px 0;
    text-align:center;
}

.md-quote-icon {
    position: absolute;
    top: -18px;
    left: 28px;
    font-size: 42px;
    color: var(--primary-red);
    background: var(--white);
    padding: 0 8px;
    line-height: 1;
}

.md-message-text {
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 16px;
    text-align:justify;
}

    .md-message-text:last-child {
        margin-bottom: 0;
    }

/* Signature */
.md-signature-block {
    padding-top: 24px;
}

.md-signature-line {
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 5px;
    margin-bottom: 14px;
}

.md-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.md-designation {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.md-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .md-message-content {
        padding-left: 0;
    }

    .md-photo-frame {
        width: 280px;
        height: 310px;
    }
}

@media (max-width: 767px) {
    .md-quote-block {
        padding: 28px 24px 28px 32px;
    }

    .md-photo-frame {
        width: 240px;
        height: 270px;
    }
}

.upper-top-principal {
    background:#b32424;
    padding:5px 10px;
    color:#fff;
    font-weight:700;
    border-radius:7px;
    text-align:start;
    margin-bottom:10px;
}

.btn-red {
    background-color: #C62828;
    color: #fff !important;
    padding: 4px 20px;
    font-weight: 600;
    border-radius: 0 4px 6px rgba(11, 31, 58, 0.05);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-red:hover{
    text-decoration:none;
}

/* =========================================
    1. ANIMATED POPUP CSS (UPGRADED)
========================================= */
.custom-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.custom-modal-content {
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: zoomInPopup 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e9ecef;
}

@keyframes zoomInPopup {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.custom-modal-close:hover { 
    color: #ff3366; 
    transform: rotate(90deg);
}
        
.popup-icon {
    font-size: 55px;
    color: #ff9800;
    margin-bottom: 20px;
    animation: bounceUpDown 2s infinite ease-in-out;
}

@keyframes bounceUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.popup-title {
    background: -webkit-linear-gradient(45deg, #002e5b, #ff3366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 28px;
}

.popup-btn {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: #fff !important;
    border: none;
    padding: 12px 35px;
    font-size: 18px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 8px 15px rgba(255, 87, 34, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    text-decoration: none;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 87, 34, 0.5);
    color: #fff;
}



.teacher-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.teacher-image {
    text-align: center;
    margin-bottom: 15px;
}

.teacher-image img {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
}

.teacher-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #17243a;
}

.teacher-info {
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #222;
    overflow-wrap: anywhere;
}

.teacher-profile-btn {
    display: block;
    margin: 15px auto 0;
    padding: 10px 22px;
    background: #D83C00;
    color: white;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

.teacher-profile-btn:hover {
    background: #f12828;
}


/* POPUP */

.teacher-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 999999;
}

.teacher-modal-overlay.show {
    display: flex;
}

.teacher-modal-box {
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    animation: popupShow .3s ease;
}

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

.teacher-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #ddd;
}

.teacher-modal-header h2 {
    margin: 0;
    font-size: 25px;
    color: #222;
}

.modal-close {
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

.teacher-modal-body {
    padding: 25px;
}

.teacher-profile-top {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 22px;
    background: linear-gradient(135deg,#ff0000,#cd2121);
    border-radius: 10px;
    margin-bottom: 20px;
}

.teacher-profile-top img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    object-position: top;
}

.teacher-profile-top span {
    color: #d5e8ff;
    font-size: 12px;
    letter-spacing: 2px;
}

.teacher-profile-top h2 {
    color: white;
    font-size: 24px;
    margin: 8px 0;
}

.teacher-profile-top p {
    color: white;
    margin: 0;
}

.profile-detail-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 12px;
    border-bottom: 1px solid #ddd;
}

.profile-detail-row > i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2fc;
    color: #082b61;
    font-size: 18px;
}

.profile-detail-row span {
    font-size: 12px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-detail-row h4 {
    font-size: 16px;
    color: #222;
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.teacher-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: right;
}

.teacher-modal-footer button {
    background: #D83C00;
    color: white;
    padding: 10px 22px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}


/* MOBILE */

@media(max-width:900px) {
    .teacher-modal-body {
        padding: 12px;
    }

    .teacher-modal-header h2 {
        font-size: 20px;
    }

    .teacher-profile-top {
        flex-direction: column;
        text-align: center;
    }

    .teacher-profile-top h2 {
        font-size: 20px;
    }

    .profile-detail-row {
        gap: 12px;
        padding: 13px 5px;
    }

    .profile-detail-row h4 {
        font-size: 14px;
    }
    .card-Related{
        margin-bottom:15px;
    }
    .card-Related a{
        font-size:11px;
    }
}
