/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Top Bar Styles */
.top-bar {
    background-color: #002147; /* Classic Navy Blue */
    color: #ffffff;
    font-size: 14px;
    border-bottom: 2px solid #ffc107; /* Gold Accent line */
}

.top-link a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.top-link a:hover {
    color: #ffc107;
}

.text-accent {
    color: #ffc107;
}

/* Social Media Icons */
.social-icons a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffc107;
    transform: translateY(-2px);
}

/* Logo Section Styles */
.logo-section {
    background-color: #ffffff;
}

.college-name {
    color: #002147;
    font-size: 1.8rem; /* Adjusted for better balance */
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.logo-img {
    max-height: 30px; /* Increased from 30px so it's actually visible */
    width: auto;
    transition: 0.3s;
}

/* --- RESPONSIVENESS --- */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .college-name {
        font-size: 1.4rem;
    }
    .logo-img {
        max-height: 70px;
    }
}

/* Mobile (Phoness) */
@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
    }
    
    .social-icons {
        margin-top: 5px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 8px;
    }

    .college-name {
        font-size: 1.1rem;
    }
    
    .logo-img {
        max-height: 55px;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .college-name {
        font-size: 0.95rem;
    }
    
    .logo-img {
        max-height: 45px;
    }
}

/* --- NAVIGATION STYLING --- */
.main-nav {
    background-color: #002147; /* Navy background for the menu bar */
    border-bottom: 3px solid #ffc107;
}

.main-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    padding: 20px 12px !important;
    text-transform: uppercase;
    transition: 0.3s;
}

.main-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- HOME ICON --- */
.home-link i {
    font-size: 18px;
}

/* --- DROPDOWN STYLING --- */
.dropdown-menu {
    border-radius: 0;
    margin-top: 0;
    padding: 10px 0;
    min-width: 220px;
}

.dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
    color: #002147;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #ffc107;
    color: #002147;
}

/* Desktop Hover Trigger */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* --- APPLY NOW CTA BUTTON --- */
.btn-apply {
    background-color: #ffc107; /* Gold color */
    color: #002147;
    font-size: 14px;
    border: 2px solid #ffc107;
    transition: 0.4s ease;
}

.btn-apply:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #001a38;
        padding: 15px;
    }

    .main-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-item {
        color: #ffffff;
    }

    .btn-apply {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }
}

/* Toggler Icon Logic */
.custom-toggler { border: none; }
.custom-toggler .close-icon { display: none; color: white; font-size: 24px; }
.custom-toggler .open-icon { display: block; color: white; font-size: 24px; }
.custom-toggler:not(.collapsed) .open-icon { display: none; }
.custom-toggler:not(.collapsed) .close-icon { display: block; }


/* --- HERO SLIDER STYLES --- */
#heroSlider {
    position: relative;
    overflow: hidden;
}

.hero-img {
    height: 75vh; /* 75% of screen height */
    object-fit: cover; /* Prevents image stretching */
}

/* Dark overlay to make text pop */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 33, 71, 0.4), rgba(0, 33, 71, 0.7));
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 25%;
    text-align: left; /* Modern left-aligned look */
}

.carousel-caption h5 {
    color: #ffc107;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.text-gold {
    color: #ffc107;
}

.carousel-caption p {
    font-size: 1.2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- HERO BUTTONS --- */
.btn-gold {
    background-color: #ffc107;
    color: #002147;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
    border: 2px solid #ffc107;
}

.btn-gold:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-light {
    border-width: 2px;
    padding: 12px 30px;
    font-weight: 700;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991.98px) {
    .hero-img {
        height: 60vh;
    }
    .carousel-caption h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-img {
        height: 50vh;
    }
    .carousel-caption {
        bottom: 15%;
        text-align: center; /* Center text on mobile */
        left: 5%;
        right: 5%;
    }
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .btn-gold, .btn-outline-light {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* --- SMOOTH TRANSITION (FADE EFFECT) --- */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/*===============COMMON TOP CSS====================*/
/* --- ACADEMICS OVERVIEW --- */
.academics-section {
    background-color: #f8f9fa;
    position: relative;
}

.text-navy { color: #002147; }
.tracking-wider { letter-spacing: 2px; }

.header-line {
    width: 80px;
    height: 4px;
    background: #ffc107;
    border-radius: 10px;
}

/* Card Styling */
.aca-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.aca-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 33, 71, 0.15);
    border-color: #ffc107;
}

/* Icons */
.aca-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 33, 71, 0.05);
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 32px;
    margin-bottom: 25px;
    transition: 0.4s;
}

.aca-card:hover .aca-icon-box {
    background: #ffc107;
    color: #002147;
    transform: rotateY(360deg);
}

.aca-card h4 {
    color: #002147;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.aca-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.aca-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: #002147;
    margin-bottom: 8px;
}

.aca-list li i {
    margin-right: 8px;
}

.aca-link {
    text-decoration: none;
    color: #002147;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.aca-link:hover {
    color: #ffc107;
    margin-left: 5px;
}

/* Stats Strip */
.aca-stats {
    background: #002147;
    border-bottom: 5px solid #ffc107;
}

.aca-stats .border-end {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .aca-stats .border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .aca-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .aca-icon-box {
        margin: 0 auto 20px;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* --- COURSE BENEFITS --- */
.benefits-section {
    overflow: hidden;
}

/* Tab Styling */
.custom-tabs .nav-link {
    background: #f8f9fa;
    color: #002147;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    margin: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
    font-size: 0.9rem;
}

.custom-tabs .nav-link.active {
    background: #002147 !important;
    color: #ffc107 !important;
    border-color: #ffc107;
}

/* Benefit List Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: 0.3s;
}

.benefit-item:hover {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 33, 71, 0.1);
    transform: translateX(10px);
}

.benefit-item i {
    font-size: 24px;
    color: #ffc107;
    margin-right: 15px;
    background: #002147;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Animation */
.tab-pane.active .benefit-item {
    animation: slideInUp 0.5s ease backwards;
}

/* Apply staggered animation to list items */
.tab-pane.active .benefit-item:nth-child(1) { animation-delay: 0.1s; }
.tab-pane.active .benefit-item:nth-child(2) { animation-delay: 0.2s; }
.tab-pane.active .benefit-item:nth-child(3) { animation-delay: 0.3s; }
.tab-pane.active .benefit-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .custom-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 10px;
    }
    
    .custom-tabs .nav-item {
        white-space: nowrap;
    }
    
    .benefit-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .benefits-section h3 {
        text-align: center;
        font-size: 1.5rem;
    }
    .benefit-item:hover {
        transform: none; /* Disable horizontal slide on mobile for better fit */
    }
}
/*------------------------------------*/


/* --- Apply Now Section Styles --- */

.apply-now-strip {
    background-color: #f8f9fa; /* Light background to make the red box pop */
}

/* The Main Gradient Box */
.apply-gradient-box {
    background: linear-gradient(135deg, #d32f2f 0%, #8b0000 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtle background decoration (optional) */
.apply-gradient-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: -1;
}

/* Typography Adjustments */
.apply-gradient-box h2 {
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.apply-gradient-box .text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important; /* Slightly brighter for better readability */
}

/* The "Apply Now" Button */
.btn-apply-light {
    background-color: #ffffff;
    color: #d32f2f !important;
    border: 2px solid #ffffff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-apply-light:hover {
    background-color: transparent;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Icon Animation */
.btn-apply-light i {
    transition: transform 0.3s ease;
}

.btn-apply-light:hover i {
    transform: translateX(5px) translateY(-5px);
}

/* Helpline Link Hover */
.cta-actions a.text-decoration-none {
    transition: opacity 0.3s ease;
    display: inline-block;
}

.cta-actions a.text-decoration-none:hover {
    opacity: 0.8;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .apply-gradient-box {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .display-6 {
        font-size: 1.8rem;
    }
}
/*-------------------------------*/



/* --- OFFERED COURSES SECTION STYLES --- */
.all-courses-section {
    background-color: #f4f7f9 !important;
}

/* Course Card Base */
.course-item-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 33, 71, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.course-item-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background: #002147; /* Navy hover bg */
    border-radius: 15px;
    transition: all 0.4s ease;
    z-index: -1;
}

/* Hover State */
.course-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.15);
}

.course-item-card:hover::before {
    height: 100%;
}

.course-item-card:hover h5, 
.course-item-card:hover p, 
.course-item-card:hover span {
    color: #ffffff !important;
}

/* Course Tag */
.course-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Icon Wrap */
.course-icon-wrap {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 20px;
    transition: 0.4s;
    border: 1px solid #eee;
}

.course-item-card:hover .course-icon-wrap {
    background: #ffc107;
    color: #002147;
    transform: scale(1.1);
}

/* Footer Section of Card */
.course-info-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-info-footer span {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
}

.course-item-card:hover .course-info-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Arrow Button */
.btn-course-arrow {
    width: 35px;
    height: 35px;
    background: #002147;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.course-item-card:hover .btn-course-arrow {
    background: #ffc107;
    color: #002147;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .all-courses-section {
        padding: 40px 0;
    }
    .display-5 {
        font-size: 2.2rem;
    }
    .course-item-card {
        padding: 25px 20px;
    }
}

/* --- AFFILIATIONS SECTION STYLES --- */
.affiliations-section {
    border-top: 1px solid #eee;
}

.aff-card {
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
}

/* Logo Box Logic */
.aff-logo-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    /* Subtle Grayscale Effect */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.aff-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.aff-name {
    font-size: 11px;
    font-weight: 700;
    color: #002147;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.4;
    transition: 0.3s;
}

/* DYNAMIC HOVER EFFECTS */
.aff-card:hover .aff-logo-box {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 33, 71, 0.1);
}

.aff-card:hover .aff-name {
    color: #ffc107;
}

/* Outline Button Styling */
.btn-outline-navy {
    border: 2px solid #002147;
    color: #002147;
    transition: 0.3s;
}

.btn-outline-navy:hover {
    background-color: #002147;
    color: #fff;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .aff-logo-box {
        height: 80px;
    }
    .aff-logo {
        max-height: 60px;
    }
}

@media (max-width: 767px) {
    .aff-name {
        font-size: 10px;
    }
    .aff-logo-box {
        filter: grayscale(0%); /* Keep color on mobile for better visibility */
        opacity: 1;
    }
}

/* --- SPECIALITY SECTION --- */
.bg-gold { background-color: #ffc107; }
.btn-navy {
    background-color: #002147;
    color: #fff;
    transition: 0.3s;
}
.btn-navy:hover {
    background-color: #ffc107;
    color: #002147;
}

/* --- DEPARTMENTS GRID (GREY TO RED) --- */
.dept-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

.dept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Grey Effect by Default */
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.dept-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transparent Red Background */
    background: rgba(211, 47, 47, 0.85); 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease;
    padding: 20px;
}

.overlay-content i {
    font-size: 3rem;
    color: #ffc107;
}

/* Hover States */
.dept-card:hover .dept-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.dept-card:hover .dept-overlay {
    opacity: 1;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .speciality-section {
        text-align: center;
    }
    .speciality-content .d-flex {
        text-align: left;
    }
    .dept-card {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .dept-overlay {
        opacity: 0.9; /* Keep semi-visible on mobile as hover is hard */
        background: linear-gradient(to top, rgba(211, 47, 47, 0.9), transparent);
        align-items: flex-end;
    }
    .dept-img {
        filter: grayscale(0%);
    }
    .overlay-content i {
        font-size: 2rem;
    }
}

/* --- APPLY NOW RED GRADIENT STRIP --- */
.gradient-red-cta {
    /* Premium Red Gradient */
    background: linear-gradient(135deg, #8e0000 0%, #d32f2f 50%, #b71c1c 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.fw-900 { font-weight: 900; }

/* Decorative white shape in background */
.cta-bg-shape {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

/* Gold Button Specific to this Strip */
.btn-gold-apply {
    background-color: #ffc107;
    color: #002147;
    border: 2px solid #ffc107;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
}

.btn-gold-apply:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .gradient-red-cta {
        text-align: center;
        padding: 40px 20px !important;
    }
    .gradient-red-cta h2 {
        font-size: 1.8rem;
    }
    .gradient-red-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .apply-now-strip {
        padding-top: 20px;
    }
    .btn-gold-apply {
        width: 100%; /* Full width button for easy thumb-tap */
        font-size: 16px;
    }
    .cta-bg-shape {
        width: 150px;
        height: 150px;
    }
}

/* --- ETHICAL TEACHING PRACTICES STYLES --- */
.ethical-teaching-section {
    position: relative;
    overflow: hidden;
}

/* Ethical Card Styling */
.ethical-card {
    background: #fdfdfd;
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.ethical-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1);
    border-color: #ffc107;
}

.highlight-border {
    border-bottom: 4px solid #d32f2f;
}

/* Icon Box logic */
.ethical-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 33, 71, 0.05);
    color: #002147;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.icon-red {
    background: rgba(211, 47, 47, 0.05);
    color: #d32f2f;
}

.ethical-card:hover .ethical-icon-box {
    background: #ffc107;
    color: #002147;
    transform: scale(1.1);
}

.ethical-card:hover .icon-red {
    background: #d32f2f;
    color: #fff;
}

/* Feature List Inside Card */
.ethical-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.ethical-list li {
    font-size: 13px;
    font-weight: 600;
    color: #002147;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.ethical-list li i {
    color: #ffc107;
    margin-right: 10px;
    font-size: 12px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .ethical-card {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .ethical-teaching-section .display-6 {
        font-size: 1.8rem;
    }
    .ethical-card {
        text-align: center;
    }
    .ethical-icon-box {
        margin: 0 auto 20px;
    }
    .ethical-list li {
        justify-content: center;
    }
}
/* --- STUDENT OFFERING SECTION STYLES --- */
.student-offering-section {
    position: relative;
    z-index: 1;
}

/* Left Content: Numbers */
.offering-number {
    width: 50px;
    height: 50px;
    background: #002147;
    color: #ffc107;
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #ffc107;
    box-shadow: 0 5px 15px rgba(0, 33, 71, 0.2);
}

/* Right Content: Feature Boxes */
.offering-box {
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.offering-box i {
    font-size: 2.5rem;
    display: block;
}

.offering-box h6 {
    font-weight: 800;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Box Variations */
.box-navy { background: #002147; color: #fff; }
.box-navy i { color: #ffc107; }

.box-gold { background: #ffc107; color: #002147; }
.box-gold i { color: #002147; }

.box-red { background: #d32f2f; color: #fff; }
.box-red i { color: #fff; }

/* Hover Effects */
.offering-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .student-offering-section {
        text-align: center;
    }
    .offering-number {
        margin: 0 auto 10px;
    }
    .offering-box {
        margin-top: 0 !important; /* Remove the staggered look on small screens */
    }
    .offering-items .d-flex {
        flex-direction: column;
        align-items: center;
    }
    .offering-items .ms-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .offering-box i {
        font-size: 1.8rem;
    }
    .offering-box h6 {
        font-size: 0.75rem;
    }
}

/* --- LAYERED EXPOSURE STYLES --- */
.exposure-master-wrapper {
    background-color: #ffffff;
}

.mb-100 {
    margin-bottom: 100px;
}

/* Layer Sections Transitions */
.layer-section {
    transition: 0.5s;
    opacity: 0.95;
}
.layer-section:hover {
    opacity: 1;
}

/* Image Decoration and Layering */
.layered-img-container {
    position: relative;
    padding: 20px;
}

.img-bg-deco {
    position: absolute;
    top: 0;
    width: 80%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
}

.navy-deco { background: rgba(0, 33, 71, 0.05); left: 0; }
.gold-deco { background: rgba(255, 193, 7, 0.05); right: 0; }
.red-deco { background: rgba(211, 47, 47, 0.05); left: 0; }

.main-img {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.layered-img-container:hover .main-img {
    transform: scale(1.02);
}

/* Floating Icon Cards */
.floating-icon-card {
    position: absolute;
    bottom: -15px;
    right: 0px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 4px solid #ffc107;
    animation: floatEffect 3s infinite ease-in-out;
}

.icon-left {
    right: auto;
    left: 0px;
}

.floating-icon-card i { font-size: 1.5rem; }
.floating-icon-card span { font-weight: 800; font-size: 0.85rem; color: #002147; text-transform: uppercase; }

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Text Styling */
.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 33, 71, 0.05);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
}

.right-num { text-align: right; }

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #002147;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-end li { justify-content: flex-end; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .mb-100 { margin-bottom: 60px; }
    .layered-text-box { text-align: left !important; margin-top: 20px; }
    .list-end li { justify-content: flex-start; }
    .step-num { font-size: 3rem; margin-bottom: 5px; text-align: left !important; }
    
    .floating-icon-card {
        position: relative;
        bottom: 0;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
}

/* --- INDUSTRIAL TRAINING SECTION STYLES --- */
.industrial-training-hub {
    position: relative;
    z-index: 1;
}

/* Training Card Styling */
.training-card {
    background: #ffffff;
    transition: all 0.4s ease;
    border-top: 5px solid #002147 !important; /* Default Navy Border */
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1) !important;
    border-top: 5px solid #ffc107 !important; /* Gold Border on Hover */
}

/* Highlight the core card */
.active-card {
    border-top: 5px solid #ffc107 !important;
}

/* Icon Box Styling */
.training-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.bg-navy { background-color: #002147; }
.bg-gold { background-color: #ffc107; }

.training-card:hover .training-icon-box {
    transform: rotateY(360deg);
}

/* Footer Link Button */
.btn-navy {
    background-color: #002147;
    color: #fff;
    border: 2px solid #002147;
    transition: 0.3s;
}

.btn-navy:hover {
    background-color: transparent;
    color: #002147;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767px) {
    .industrial-training-hub .display-5 {
        font-size: 1.8rem;
    }
    
    .training-card {
        padding: 30px 20px;
    }
    
    .training-footer {
        text-align: center;
        border-radius: 20px;
    }
}

/* --- TRAINING PARTNERS SECTION STYLES --- */
.partner-item-card {
    background: #ffffff;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 33, 71, 0.08) !important;
}

.partner-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 33, 71, 0.12) !important;
    border-color: #ffc107 !important;
}

/* Image/Thumbnail Box */
.partner-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.partner-thumb img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.partner-item-card:hover .partner-thumb img {
    transform: scale(1.1);
}

/* Category Badge */
.partner-cat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #002147;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.badge-blue {
    background: #002147;
    color: #fff;
}

/* Text and Meta Info */
.extra-small {
    font-size: 11px;
    color: #666;
}

.partner-meta-info {
    border-top: 1px dashed #eee;
}

/* Small Button Styling */
.btn-outline-gold-sm {
    border: 1.5px solid #002147;
    color: #002147;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-outline-gold-sm:hover {
    background-color: #002147;
    color: #ffc107;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767px) {
    .partner-thumb {
        height: 160px;
    }
    .partner-details h4 {
        font-size: 1.2rem;
    }
}

/* --- FACULTY DIRECTORY STYLES --- */

/* Accordion Customization */
.custom-faculty-accordion .accordion-button {
    background-color: #002147;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 20px 25px;
    box-shadow: none !important;
}

.custom-faculty-accordion .accordion-button:not(.collapsed) {
    background-color: #002147;
    color: #ffc107;
    border-bottom: 2px solid #ffc107;
}

.custom-faculty-accordion .accordion-button::after {
    filter: brightness(0) invert(1); /* Makes arrow white */
}

/* Faculty Profile Cards */
.prof-card {
    padding: 30px 20px;
    border-radius: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    height: 100%;
}

.prof-card:hover {
    transform: translateY(-10px);
    border-color: #ffc107;
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1);
    background: #ffffff;
}

.prof-img-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    position: relative;
}

.prof-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    transition: 0.4s;
}

.prof-card:hover .prof-img-wrap img {
    border-color: #ffc107;
}

.expertise-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.extra-small {
    font-size: 10px;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 767px) {
    .custom-faculty-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .prof-img-wrap {
        width: 110px;
        height: 110px;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}



























/*===============COMMON FOOT CSS====================*/
/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #00152e; /* Darker navy for footer */
    color: #ffffff;
    border-top: 4px solid #ffc107;
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

.footer-heading {
    color: #ffc107;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ffc107;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #ffc107;
    padding-left: 5px;
}

/* Social Circles */
.social-circle {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-circle:hover {
    background-color: #ffc107;
    color: #002147;
    transform: translateY(-3px);
}

/* Newsletter Input */
.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    border-color: #ffc107;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #000c1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Elements */
.back-to-top {
     position: fixed;
    bottom: 30px; /* Bottom-most element */
    right: 30px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    background-color: #ffc107;
    color: #002147;
    transition: 0.3s ease;
}
.back-to-top:hover {
    background-color: #002147;
    color: #ffc107;
    transform: translateY(-5px);
}

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 95px; /* Positioned above the Back to Top button */
    right: 30px;  /* Moved to the right */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    color: #FFF;
    box-shadow: 2px 8px 20px rgba(0,0,0,0.3);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 767px) {
    .back-to-top, .whatsapp-float {
        right: 20px; /* Slightly closer to edge on mobile */
    }
    .back-to-top {
        bottom: 20px;
    }
    .whatsapp-float {
        bottom: 80px;
    }
}