:root {
--navy: #002347;
--dark-navy: #00152b;
--crimson: #a91b1b;
--gold: #ffb703;
--text-dark: #1e293b;
}

body { 
font-family: 'Segoe UI', system-ui, sans-serif; 
background-color: #f8fafc; 
color: var(--text-dark);
}

/* Top Bar styling */
.top-utility-bar {
background-color: var(--dark-navy);
color: #f8fafc;
font-size: 13px;
}
.top-utility-bar a {
color: #cbd5e1;
text-decoration: none;
}
.btn-admission-flash {
background-color: var(--crimson);
color: white !important;
font-weight: 700;
font-size: 12px;
border: none;
letter-spacing: 0.5px;
}

/* Branding Header Configuration */
.main-branding-header {
background: #ffffff;
border-bottom: 3px solid var(--navy);
}
.profile-card-top {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 120px;
}
.profile-img-top {
height: 85px;
width: auto;
object-fit: cover;
border-radius: 4px;
}
.profile-title-top {
font-size: 11px;
font-weight: 700;
margin-top: 4px;
line-height: 1.2;
}
.profile-desc-top {
font-size: 9px;
color: #64748b;
line-height: 1.2;
}
.institute-main-heading {
font-size: clamp(1.1rem, 2.2vw, 1.95rem);
color: var(--navy);
font-weight: 800;
line-height: 1.25;
letter-spacing: -0.5px;
}

/* Navbar Menu Design */
.custom-nav-wrapper {
background-color: var(--navy);
padding: 0;
}
.custom-nav-wrapper .nav-link {
color: #ffffff !important;
font-weight: 600;
font-size: 13px;
text-transform: uppercase;
padding: 15px 16px !important;
border-right: 1px solid rgba(255,255,255,0.08);
}
.custom-nav-wrapper .nav-link:hover {
background-color: rgba(255,255,255,0.1);
}
.home-link-active {
background-color: var(--crimson);
}

/* Form Query Block Layout */
.enquiry-panel-card {
background-color: var(--crimson);
color: white;
border-radius: 6px;
padding: 24px;
}
.enquiry-panel-card h4 {
font-size: 18px;
font-weight: 700;
letter-spacing: 0.5px;
border-bottom: 1px solid rgba(255,255,255,0.2);
}
.enquiry-panel-card .form-control, .enquiry-panel-card .form-select {
padding: 10px 12px;
font-size: 14px;
border-radius: 4px;
}

/* Mock reCAPTCHA framework integration */
.recaptcha-wrapper-box {
background: #f9f9f9;
color: #222;
border: 1px solid #d3d3d3;
border-radius: 3px;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}

/* Central Carousel Configuration */
.hero-slider-box img {
height: 480px;
object-fit: cover;
border-radius: 6px;
}
.hero-slider-caption-card {
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(2px);
border-radius: 6px;
text-align: left;
left: 5%;
bottom: 6%;
padding: 24px;
max-width: 85%;
}

/* 4-Grid Circle Profile Leadership View */
.executive-panel-container {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 20px 12px;
height: 100%;
}
.executive-circle-item {
text-align: center;
padding: 10px 4px;
}
.executive-avatar-img {
width: 120px;
height: 120px;
object-fit: cover;
border-radius: 50%;
border: 3px solid #f1f5f9;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.executive-profile-name {
font-size: 12.5px;
font-weight: 700;
color: #0f172a;
margin-top: 8px;
margin-bottom: 2px;
}
.executive-profile-role {
font-size: 10.5px;
color: #64748b;
line-height: 1.3;
font-weight: 500;
}

/* Structural Footer Layer */
.main-corporate-footer {
background-color: #0f172a;
color: #94a3b8;
font-size: 14px;
}
.main-corporate-footer h5 {
color: #ffffff;
font-weight: 700;
font-size: 16px;
position: relative;
padding-bottom: 8px;
}
.main-corporate-footer h5::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 30px;
height: 2px;
background-color: var(--crimson);
}
.footer-navigation-links {
list-style: none;
padding-left: 0;
}
.footer-navigation-links li {
margin-bottom: 10px;
}
.footer-navigation-links a {
color: #94a3b8;
text-decoration: none;
transition: color 0.2s ease;
}
.footer-navigation-links a:hover {
color: #ffffff;
}

/* Core Global Responsive Adjustments */
@media (max-width: 991.98px) {
.hero-slider-box img { height: 360px; }
.custom-nav-wrapper .nav-link { border-right: none; padding: 10px 16px !important; }
}

/* Prevent images from overlapping or changing aspect ratio proportions */
.custom-img-fit {
object-fit: contain;
background-color: #ffffff; /* White matting behind irregular images */
}

.custom-social-hover:hover {
background-color: #f1f5f9 !important;
border-color: #cbd5e1 !important;
}

/* Keep Carousel navigation arrows sleek and small */
.carousel-control-prev-icon, .carousel-control-next-icon {
width: 1.5rem;
height: 1.5rem;
}

/* Info Strip Belt background color matching main theme nav bar */
.info-strip-belt {
    background-color: #002b5c; 
    font-size: 13px;
    letter-spacing: 0.3px;
}

.info-strip-belt .col-lg-auto {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Core Corporate Footer Dark Matt Finish Theme styling */
.corporate-main-footer {
    background-color: #16191e; /* Deep rich Charcoal Black */
    color: #b9c1cc;
    font-size: 14px;
}

/* Red underline effect for titles as per the provided screenshot */
.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background-color: #b71c1c; /* Crimson Red bar line */
}

/* Contact Details Content Alignment */
.footer-contact-list p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-contact-list i {
    font-size: 15px;
    width: 15px;
    text-align: center;
}

/* Navigation Lists resets */
.footer-links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #b9c1cc;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

/* Clean smooth transition hover effect */
.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Responsive adjustments for mid-screens */
@media (max-width: 991.98px) {
    .info-strip-belt {
        font-size: 12px;
    }
    .footer-title {
        font-size: 16px;
    }
}

/* CSS to handle Facebook iframe fluid responsiveness */
    .fb-feed-container iframe {
        width: 100% !important;
        border: none !important;
    }
    .custom-social-hover:hover {
        background-color: #f1f5f9 !important;
        border-color: #cbd5e1 !important;
    }


.breadcrumb-banner{
    position: relative;

    background:
    linear-gradient(
         rgba(0,0,0,0.82),
        rgba(0,0,0,0.82)
    ),
    url('../img/slider7.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 90px 0;
}

.breadcrumb-content{
    text-align: center;
}

.breadcrumb-content h1{
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.breadcrumb-nav{
    display: flex;
    justify-content: center;
    gap: 10px;

    color: #fff;
    font-size: 16px;
}

.breadcrumb-nav a{
    color: #ffc107;
    text-decoration: none;
}

.breadcrumb-nav span{
    color: #fff;
}

@media(max-width:768px){

    .breadcrumb-banner{
        padding: 60px 0;
    }

    .breadcrumb-content h1{
        font-size: 28px;
    }

    .breadcrumb-nav{
        font-size: 14px;
    }

}

.error-page{
    padding:100px 0;
    background:#f5f7fa;
    min-height:70vh;

    display:flex;
    align-items:center;
}

.error-content{
    text-align:center;
    width:100%;
}

.error-content h1{
    font-size:120px;
    font-weight:700;
    color:#002147;
    margin-bottom:10px;
}

.error-content h2{
    font-size:40px;
    margin-bottom:20px;
}

.error-content p{
    font-size:18px;
    margin-bottom:30px;
    color:#666;
}

.home-btn{
    display:inline-block;
    padding:14px 35px;
    background:#002147;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
    transition:0.3s;
}

.home-btn:hover{
    background:#d71920;
    color:#fff;
}