/* GLOBAL PROFESSIONAL STYLES FOR ALL INNER PAGES */

/* Base Typography and Colors */
body,
p,
li,
td,
th,
div {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make headers more prominent */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #002147;
    font-weight: 800;
    line-height: 1.3;
}

h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #002147, #00bcd4);
    border-radius: 2px;
}

p,
.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

[style*="background:#003366"] p,
[style*="background:#002147"] p,
[style*="background:#001430"] p,
[style*="background:#003b69"] p,
[style*="background:#005a8e"] p,
[style*="background:linear-gradient"] p,
.text-white p,
[style*="color:#fff"] p,
[style*="color: #fff"] p,
[style*="color: white"] p,
.bg-primary p {
    color: #ffffff !important;
}

/* Box layouts and cards everywhere */
.inner-page-content-wrapper,
.wrapper {
    background: #fdfdfd;
}

.suplink-card,
.card,
.panel,
.about-content-section,
.about-highlight-box,
.course-details,
.dept-details,
.info-section {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 188, 212, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    padding: 35px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.suplink-card:hover,
.card:hover,
.panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.3);
}

/* Beautiful Lists */
ul.list li,
.dept-details ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    list-style: none;
    font-size: 1.05rem;
    color: #444;
}

ul.list li::before,
.dept-details ul li::before {
    content: "\f058";
    font-family: FontAwesome;
    color: #00bcd4;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.1rem;
}

/* Modern Tables for Departments and Facilities */
table,
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
}

th {
    background: linear-gradient(135deg, #002147, #004c99);
    color: #ffffff;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: none;
}

td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f4f8;
    color: #555;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f4faff;
    color: #002147;
}

/* Enhance Images */
img.img-responsive,
.about-img img,
.course-img img,
.gallery-item img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

img.img-responsive:hover,
.about-img img:hover,
.gallery-item img:hover {
    transform: scale(1.02);
}

/* Buttons */
.btn-primary,
.theme-btn,
.read-more-btn,
.suplink-btn,
a[class*="btn-"] {
    background: linear-gradient(135deg, #002147, #00bcd4);
    border: none;
    color: white !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
    text-decoration: none !important;
    display: inline-block;
}

.btn-primary:hover,
.theme-btn:hover,
.read-more-btn:hover,
.suplink-btn:hover,
a[class*="btn-"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.5);
    background: linear-gradient(135deg, #00bcd4, #002147);
}

/* Inner Page Header Area - WITH CAMPUS BACKGROUND IMAGE */
.inner-page-banner-area,
.suplink-hero,
.breadcrumbs-area {
    background-image: url('../img/h4.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    padding: 130px 0 90px !important;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 5px solid #00bcd4;
    margin-bottom: 50px;
}

/* Dark overlay so text is always readable */
.inner-page-banner-area::after,
.suplink-hero::after,
.breadcrumbs-area::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.45) 0%, rgba(0, 10, 26, 0.55) 100%);
    z-index: 1;
}

/* Animated glow on top of overlay */
.inner-page-banner-area::before,
.suplink-hero::before,
.breadcrumbs-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.12) 0%, transparent 55%);
    animation: rotate-glow 20s linear infinite;
    z-index: 2;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.inner-page-banner-area .container,
.suplink-hero .container,
.breadcrumbs-area .container {
    position: relative;
    z-index: 3;
}

.inner-page-banner-area h1,
.suplink-hero h1,
.breadcrumbs-area h1 {
    color: #ffffff !important;
    font-size: 3.5rem !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.suplink-hero-title {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.suplink-hero-date,
.inner-page-banner-area p {
    color: #00bcd4 !important;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive: disable fixed attachment on mobile (performance) */
@media (max-width: 768px) {

    .inner-page-banner-area,
    .suplink-hero,
    .breadcrumbs-area {
        background-attachment: scroll !important;
        padding: 90px 0 60px !important;
    }

    .inner-page-banner-area h1,
    .suplink-hero h1,
    .breadcrumbs-area h1 {
        font-size: 2.2rem !important;
        letter-spacing: 1px;
    }
}

/* Breadcrumbs global */
.breadcrumbs {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 35px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 20px;
}

.breadcrumbs li {
    display: inline-block;
    color: #00bcd4;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.breadcrumbs li.active {
    color: #ffffff;
}

.breadcrumbs li+li::before {
    content: '\f105';
    font-family: FontAwesome;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.4);
}

/* Make alert messages stand out */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Soft gradients for body/sections to feel light and professional */
.bg-light-blue,
.wrapper,
body {
    background-color: #f7f9fc !important;
}

/* Text Highlights */
.highlight-text {
    color: #00bcd4;
    font-weight: 800;
    padding: 2px 8px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 4px;
}

.header-logo-area {
    background: white;
}