/*
 * ============================================================
 *  Panskura Banamali College - Main Stylesheet
 *  Version: 2.0
 *  Author: Infotech Lab
 * ============================================================
 */

/* ============================================================
   CSS VARIABLES / ROOT
   ============================================================ */
:root {
    --primary-color: #066a82;
    --secondary-color: #5ac043;
    --accent-color: #0891a3;
    --light-primary: #0891a3;
    --dark-primary: #044e5c;
}

/* ============================================================
   GLOBAL / BASE STYLES
   ============================================================ */

/* Merriweather font for headings and highlighted areas */
h1, h2, h3, h4, h5, h6,
.section-title,
.logo-text h1,
.academics-title,
.notice-header h4,
.notice-title,
.flash-title,
.stat-label,
.update-content h4,
.department-content h3,
.welcome-features,
.support-btn,
.quick-link-item,
.footer h3 {
    font-family: 'Merriweather', serif;
}

ul li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    z-index: 1100;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.top-bar-dropdown {
    position: relative;
    display: inline-block;
}

.top-bar-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1200;
    top: 100%;
    left: 0;
}

.top-bar-dropdown-content a {
    color: var(--primary-color) !important;
    padding: 5px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.top-bar-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.top-bar-dropdown:hover .top-bar-dropdown-content {
    display: block;
}

/* Make the last dropdown (LOGINS) open to the left */
.quick-links .top-bar-dropdown:last-child .top-bar-dropdown-content {
    left: auto;
    right: 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 5px 10px;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.btn-admission {
    background-color: var(--secondary-color);
    border: none;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

/* Header Buttons & Search */
.header-buttons {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.header-buttons .btn-admission,
.header-buttons .btn-fees {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    color: white;
    transition: all 0.3s ease;
}

.header-buttons .btn-admission {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
}

.header-buttons .btn-admission:hover {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 106, 130, 0.4);
}

.header-buttons .btn-fees {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #45a833 100%);
}

.header-buttons .btn-fees:hover {
    background: linear-gradient(135deg, #45a833 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 192, 67, 0.4);
}

.header-search {
    margin-top: 8px;
}

.header-search .input-group {
    max-width: 220px;
    margin-left: auto;
}

.header-search .form-control {
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    font-size: 12px;
    padding: 5px 12px;
}

.header-search .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(6, 106, 130, 0.1);
}

.header-search .btn-search {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 5px 12px;
    transition: background 0.3s ease;
}

.header-search .btn-search:hover {
    background: var(--dark-primary);
}

/* ============================================================
   FIXED NAVIGATION MENU
   ============================================================ */
.main-nav {
    background-color: var(--primary-color);
    position: relative;
    z-index: 1050;
}

.nav-container {
    position: relative;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
}

/* Main Navigation */
.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-nav-list > li {
    position: relative;
}

.main-nav-list > li > a {
    display: block;
    padding: 12px 16.5px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav-list > li > a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Dropdown Menus */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
}

.nav-dropdown li {
    position: relative;
}

.nav-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown a:hover {
    background-color: #f8f9fa;
}

.main-nav-list li:hover > .nav-dropdown {
    display: block;
}

/* Third Level Dropdowns */
.nav-dropdown .nav-dropdown {
    top: 0;
    left: 100%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    height: 500px;
}

.carousel-item {
    height: 500px;
}

.hero-slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    position: relative;
    font-family: 'Merriweather', serif;
}

.hero-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.naac-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 3;
}

.naac-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto 10px;
    font-family: 'Merriweather', serif;
}

/* ============================================================
   FLASH NEWS
   ============================================================ */
.flash-news {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 0;
    font-weight: bold;
}

.flash-title {
    background: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 15px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.flash-news marquee {
    font-size: 14px;
}

/* ============================================================
   NOTICE SECTION
   ============================================================ */
.notice-section {
    padding: 4rem 0;
}

.notice-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.notice-header {
    padding: 5px;
    color: white;
    text-align: center;
    position: relative;
    float: left;
    height: auto;
    width: 100%;
}

.notice-header i {
    font-size: 24px;
    float: left;
    margin: 5px;
    padding: 5px 10px;
}

.notice-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    float: left;
    line-height: 56px;
    font-family: 'Merriweather', serif;
}

.general-notice {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
}

.admission-notice {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #46a337 100%);
}

.tender-notice {
    background: linear-gradient(135deg, #0891a3 0%, #066a82 100%);
}

.exam-notice {
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--primary-color) 100%);
}

.notice-content {
    padding: 20px;
    max-height: 280px;
    overflow-y: auto;
}

.notice-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 5px;
}

.notice-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    font-family: 'Merriweather', serif;
}

.notice-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* Mobile Notice Tabs */
.notice-tab-btn {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    margin: 0 5px 10px 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 15px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease;
    font-family: 'Merriweather', serif;
}

.notice-tab-btn:hover,
.notice-tab-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.05);
}

.mobile-notice-content {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-notice-content .notice-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}

.mobile-notice-content .notice-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 5px;
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.welcome-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/welcome-section-area-bg-bw.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.welcome-section h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.welcome-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.welcome-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

.welcome-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.principal-area {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background-color: #fff;
    background-image: linear-gradient(to top, #f8f8f8 0%, white 100%);
    padding: 35px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: justify;
}

.principal-area img {
	float: right; 
	border: 3px solid #633f20; 
	padding: 10px; 
	margin: 12px 0 10px 17px;
	width:37.5%;
}

.video-placeholder {
    background-color: #ddd;
    height: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), #333;
    color: white;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(90, 192, 67, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 20px;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 47px;
    color: var(--primary-color);
    margin-bottom: 10px;
    float: left;
    padding: 7px;
    color: #5ac043;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Merriweather', serif;
}

.stat-label {
    color: #666;
    font-size: 18px;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

/* ============================================================
   TAB SECTION (Motto / Vision / Mission / Core Values)
   ============================================================ */
.nav-item {
    width: 25%;
}

.nav-tabs .nav-link {
    background-color: var(--primary-color);
    color: white;
    border: none;
    margin-right: 2px;
    border-radius: 0;
    display: block;
    width: 99%;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    display: block;
}

.nav-tabs .nav-link:hover {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.tab-content {
    background-color: white;
    padding: 30px;
    border: 1px solid #dee2e6;
    margin-top: -1px;
}

.tab-content h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--primary-color);
}

.tab-pane ul li {
    padding: 5px 0;
    padding-left: 35px;
    position: relative;
    list-style: none;
}

.tab-pane ul li::before {
    content: '\F26A'; /* Bootstrap icon check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 16px;
}

/* ============================================================
   UPDATES SECTION (Campus News Slider)
   ============================================================ */
.updates-section {
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    overflow: hidden;
}

.updates-header h3 {
    color: white;
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.updates-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.updates-slider-container {
    overflow: hidden;
}

.updates-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.update-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.update-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 15px 40px;
}

.update-card-image {
    position: relative;
    height: 180px;
    background-color: #ddd;
    overflow: hidden;
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.update-card:hover .update-card-image img {
    transform: scale(1.1);
}

.update-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.update-card-content {
    padding: 20px;
}

.update-card-content .update-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.update-card-content .update-date i {
    color: var(--secondary-color);
}

.update-card-content h4 {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.update-card-content .update-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.update-card-content .read-more {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.update-card-content .read-more:hover {
    color: var(--primary-color);
}

.update-card-content .read-more i {
    transition: transform 0.3s ease;
}

.update-card-content .read-more:hover i {
    transform: translateX(5px);
}

/* Slider Navigation Buttons */
.updates-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.updates-nav-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.updates-nav-btn i {
    font-size: 20px;
    color: var(--primary-color);
}

.updates-nav-btn:hover i {
    color: white;
}

.updates-prev {
    left: 0;
}

.updates-next {
    right: 0;
}

/* Slider Indicators */
.updates-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.updates-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.updates-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.updates-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.updates-section .btn-light {
    background-color: white;
    color: var(--primary-color);
    font-family: 'Merriweather', serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
}

.updates-section .btn-light:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

/* ============================================================
   ACADEMICS SECTION (Department Slider)
   ============================================================ */
.academics-section {
    padding: 4rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.academics-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.academics-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    font-family: 'Merriweather', serif;
}

.departments-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.departments-slider-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.departments-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    padding: 0 1rem;
}

.department-slide {
    flex: 0 0 300px;
    height: 275px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.department-slide:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 10;
}

.department-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 106, 130, 0.85), rgba(6, 106, 130, 0.9));
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-slide:hover .department-overlay {
    background: linear-gradient(135deg, rgba(6, 106, 130, 0.95), rgba(90, 192, 67, 0.95));
}

.department-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
}

.department-content h3 {
    color: white;
    font-size: 1.0rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.4;
    transform: translateY(0);
    transition: transform 0.3s ease;
    font-family: 'Merriweather', serif;
}

.department-content img {
    width: 100%;
    padding: 2%;
    margin: 20px 0px;
    border: #59bf42 1px solid;
    float: left;
    display: block;
    clear: both;
}

.department-slide:hover .department-content h3 {
    transform: translateY(-5px);
}

/* Department Slider Navigation */
.dept-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 106, 130, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.dept-slider-btn:hover {
    background: rgba(6, 106, 130, 1);
    transform: translateY(-50%) scale(1.1);
}

.dept-slider-btn.prev {
    left: 10px;
}

.dept-slider-btn.next {
    right: 10px;
}

.dept-slider-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dept-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(6, 106, 130, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dept-indicator.active,
.dept-indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.support-section {
    padding: 60px 0;
    background-image: linear-gradient(90deg, #fdfbfb 0%, #ebedee 100%);
}

.support-menu {
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    background-color: #FFF;
    border-radius: 7px;
    border-bottom: var(--primary-color) 3px solid;
}

.support-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 5px;
    transition: background-color 0.5s;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

.support-btn:hover {
    background-image: linear-gradient(to left, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.support-list {
    list-style: none;
    padding: 0;
}

.support-list li {
    padding: 11px 0;
    position: relative;
    padding-left: 25px;
    color: var(--primary-color);
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

.support-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================================
   QUICK LINKS / SECTION TITLE
   ============================================================ */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.quick-link-item {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    color: white;
    text-decoration: none;
    background-color: var(--light-primary);
}

.quick-link-icon {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

/* ============================================================
   PORTAL SECTION
   ============================================================ */
.portal-section {
    padding: 50px 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(6, 106, 130, 0.03) 10px,
            rgba(6, 106, 130, 0.03) 20px
        ),
        linear-gradient(to bottom right, #f5fafb 0%, #e6f2f4 50%, #f0f9fa 100%);
    position: relative;
    overflow: hidden;
}

.portal-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(90, 192, 67, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.portal-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 106, 130, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.portal-section .row {
    display: flex;
    flex-wrap: wrap;
}

.portal-section .row > div {
    display: flex;
    margin-bottom: 20px;
}

.portal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    box-shadow:
        0 4px 15px rgba(6, 106, 130, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(6, 106, 130, 0.1);
    min-height: 160px;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.portal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 35px rgba(6, 106, 130, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    text-decoration: none;
    background: linear-gradient(145deg, #ffffff 0%, #f0f4f5 100%);
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.portal-card:hover::after {
    left: 150%;
}

.portal-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--light-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(6, 106, 130, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.portal-icon-wrapper i {
    font-size: 22px;
    color: white;
    transition: transform 0.35s ease;
    line-height: 1;
}

.portal-card:hover .portal-icon-wrapper {
    background: linear-gradient(145deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 6px 18px rgba(90, 192, 67, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.portal-card:hover .portal-icon-wrapper i {
    transform: scale(1.05);
}

.portal-title {
    color: var(--primary-color);
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.portal-card:hover .portal-title {
    color: var(--dark-primary);
}

.portal-desc {
    color: #777;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.portal-arrow {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 18px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.35s ease;
}

.portal-card:hover .portal-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.gallery-section .section-title {
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 280px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(6, 106, 130, 0.2);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover a img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6, 106, 130, 0.95), transparent);
    padding: 30px 20px 20px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(6, 106, 130, 1), rgba(6, 106, 130, 0.7));
    padding-bottom: 25px;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Merriweather', serif;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 5px 0 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: linear-gradient(135deg, #044e5c 0%, #033340 100%);
    color: white;
    padding: 40px 0 20px 0;
}

.footer h3 {
    color: #7dd566;
    margin-bottom: 15px;
    font-size: 18px;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    padding: 5px 0;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

/* Footer Social Links */
.social-links h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer List Icons - Uniform Style */
.footer ul li {
    position: relative;
    padding-left: 18px;
}

.footer ul li::before {
    font-family: 'bootstrap-icons';
    content: "\F285"; /* chevron-right */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 14px;
    top: 6px;
    font-weight: bold;
}

.footer ul li:hover::before {
    color: white;
    transform: translateX(3px);
    transition: all 0.3s ease;
}

/* ============================================================
   INNER PAGE – CONTENT LAYOUT
   ============================================================ */
.innner-content {
    padding: 45px 0 55px;
    background-color: #f4f6f8;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/welcome-section-area-bg-bw.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 450px;
}

/* --- Left Sidebar Menu --- */
.left-menu {
    position: sticky;
    top: 90px;
}

.left-menu h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
    padding: 14px 20px;
    margin: 0;
    border-radius: 10px 10px 0 0;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.left-menu h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.left-menu .lisst {
    margin: 0;
    padding: 0;
}

.left-menu .lisst ul.important {
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
}

.left-menu .lisst ul.important li {
    margin: 0;
    padding: 0;
}

.left-menu .lisst ul.important li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    position: relative;
}

.left-menu .lisst ul.important li a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    margin-right: 10px;
    font-size: 11px;
    color: var(--secondary-color);
    transition: transform 0.25s ease;
}

.left-menu .lisst ul.important li a:hover {
    background-color: #f0faf5;
    color: var(--primary-color);
    padding-left: 26px;
}

.left-menu .lisst ul.important li a:hover::before {
    transform: translateX(3px);
    color: var(--primary-color);
}

.left-menu .lisst ul.important li:last-child a {
    border-bottom: none;
}

.left-menu .lisst ul.important li.active-side a {
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%), linear-gradient(90deg, var(--secondary-color), #48b035);
    color: white;
    font-weight: 600;
    border-bottom-color: transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
}

.left-menu .lisst ul.important li.active-side a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    animation: glossySweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glossySweep {
    0% {
        left: -100%;
    }
    60% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.left-menu .lisst ul.important li.active-side a::before {
    color: white;
}

/* --- Right Content Area --- */
.right-content-area {
    background: linear-gradient(180deg, #ffffff 0%, #fdfdfe 100%);
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255,255,255,1);
    min-height: 400px;
    border: 1px solid rgba(255,255,255,0.8);
    border-top: 2px solid rgba(255,255,255,0.95);
}

.right-content-area h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 15px;
}

.right-content-area h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(90, 192, 67, 0.3);
}

.right-content-area h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.right-content-area p {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 16px;
    text-align: justify;
}

.right-content-area p:last-of-type {
    margin-bottom: 0;
}

.right-content-area strong {
    color: var(--primary-color);
}

.right-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* ============================================================
   IMAGE LAYOUTS FOR RIGHT-CONTENT-AREA
   Simple, clean styles for full-width and half-split images
   ============================================================ */

/* --- 1. FULL WIDTH COVER IMAGE --- */
.right-content-area .img-full-cover {
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(6, 106, 130, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.right-content-area .img-full-cover:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(6, 106, 130, 0.25);
}


/* --- 2. HALF LEFT IMAGE LAYOUT --- */
.right-content-area .img-half-left {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(6, 106, 130, 0.03) 0%, rgba(90, 192, 67, 0.03) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s ease;
}

.right-content-area .img-half-left:hover {
    background: linear-gradient(135deg, rgba(6, 106, 130, 0.06) 0%, rgba(90, 192, 67, 0.06) 100%);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(6, 106, 130, 0.12);
}

.right-content-area .img-half-left .img-wrapper {
    flex: 0 0 48%;
    max-width: 48%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(6, 106, 130, 0.2);
}

.right-content-area .img-half-left .img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 106, 130, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.right-content-area .img-half-left:hover .img-wrapper::before {
    opacity: 1;
}

.right-content-area .img-half-left .img-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-content-area .img-half-left:hover .img-wrapper img {
    transform: scale(1.1);
}

.right-content-area .img-half-left .content-wrapper {
    flex: 1;
    padding: 10px 0;
}

.right-content-area .img-half-left .content-wrapper h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    padding-bottom: 12px;
}

.right-content-area .img-half-left .content-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    transition: width 0.4s ease;
}

.right-content-area .img-half-left:hover .content-wrapper h3::after {
    width: 100px;
}

.right-content-area .img-half-left .content-wrapper p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}


/* --- 3. HALF RIGHT IMAGE LAYOUT --- */
.right-content-area .img-half-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(90, 192, 67, 0.03) 0%, rgba(6, 106, 130, 0.03) 100%);
    border-radius: 12px;
    border-right: 4px solid var(--secondary-color);
    transition: all 0.4s ease;
}

.right-content-area .img-half-right:hover {
    background: linear-gradient(135deg, rgba(90, 192, 67, 0.06) 0%, rgba(6, 106, 130, 0.06) 100%);
    transform: translateX(-5px);
    box-shadow: 0 8px 24px rgba(90, 192, 67, 0.12);
}

.right-content-area .img-half-right .content-wrapper {
    flex: 1;
    padding: 10px 0;
    order: 1;
}

.right-content-area .img-half-right .img-wrapper {
    flex: 0 0 48%;
    max-width: 48%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(90, 192, 67, 0.2);
    order: 2;
}

.right-content-area .img-half-right .img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 192, 67, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.right-content-area .img-half-right:hover .img-wrapper::before {
    opacity: 1;
}

.right-content-area .img-half-right .img-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-content-area .img-half-right:hover .img-wrapper img {
    transform: scale(1.1);
}

.right-content-area .img-half-right .content-wrapper h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    padding-bottom: 12px;
}

.right-content-area .img-half-right .content-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(270deg, var(--secondary-color), transparent);
    transition: width 0.4s ease;
}

.right-content-area .img-half-right:hover .content-wrapper h3::after {
    width: 100px;
}

.right-content-area .img-half-right .content-wrapper p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* --- Tablet View (768px to 991px) --- */
@media (max-width: 991px) {
    .right-content-area .img-full-cover {
        min-height: 300px;
        border-radius: 10px;
    }
    
    .right-content-area .img-half-left,
    .right-content-area .img-half-right {
        gap: 20px;
        padding: 18px;
    }
    
    .right-content-area .img-half-left .img-wrapper,
    .right-content-area .img-half-right .img-wrapper {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .right-content-area .img-half-left .img-wrapper img,
    .right-content-area .img-half-right .img-wrapper img {
        min-height: 240px;
    }
    
    .right-content-area .img-half-left .content-wrapper h3,
    .right-content-area .img-half-right .content-wrapper h3 {
        font-size: 1.3rem;
    }
}

/* --- Mobile View (600px to 767px) --- */
@media (max-width: 767px) {
    .right-content-area .img-full-cover {
        min-height: 250px;
        border-radius: 8px;
        margin: 18px 0;
    }
    
    .right-content-area .img-half-left,
    .right-content-area .img-half-right {
        flex-direction: column;
        gap: 18px;
        padding: 18px;
        margin: 20px 0;
    }
    
    .right-content-area .img-half-left .img-wrapper,
    .right-content-area .img-half-right .img-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .right-content-area .img-half-left .img-wrapper img,
    .right-content-area .img-half-right .img-wrapper img {
        min-height: 220px;
    }
    
    .right-content-area .img-half-left .content-wrapper,
    .right-content-area .img-half-right .content-wrapper {
        order: 2;
    }
    
    .right-content-area .img-half-right .img-wrapper {
        order: 1;
    }
    
    .right-content-area .img-half-left .content-wrapper h3,
    .right-content-area .img-half-right .content-wrapper h3 {
        font-size: 1.25rem;
    }
    
    .right-content-area .img-half-right .content-wrapper h3::after {
        right: auto;
        left: 0;
        background: linear-gradient(90deg, var(--secondary-color), transparent);
    }
    
    /* Disable hover transforms on mobile */
    .right-content-area .img-half-left:hover,
    .right-content-area .img-half-right:hover {
        transform: none;
    }
}

/* --- Small Mobile (400px and below) --- */
@media (max-width: 400px) {
    .right-content-area .img-full-cover {
        min-height: 200px;
        border-radius: 6px;
        margin: 15px 0;
    }
    
    .right-content-area .img-half-left,
    .right-content-area .img-half-right {
        gap: 15px;
        padding: 14px;
        margin: 18px 0;
        border-radius: 8px;
    }
    
    .right-content-area .img-half-left .img-wrapper img,
    .right-content-area .img-half-right .img-wrapper img {
        min-height: 180px;
    }
    
    .right-content-area .img-half-left .content-wrapper h3,
    .right-content-area .img-half-right .content-wrapper h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .right-content-area .img-half-left .content-wrapper p,
    .right-content-area .img-half-right .content-wrapper p {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

/* ============================================================
   ENHANCED GALLERY_PRODUCT STYLES
   Beautiful, modern styling for gallery images
   ============================================================ */

.gallery_product {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(6, 106, 130, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    cursor: pointer;
    margin: 15px 0;
}

.gallery_product:hover {
    box-shadow: 0 12px 32px rgba(6, 106, 130, 0.25);
    transform: translateY(-8px);
}

/* Image styling */
.gallery_product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery_product:hover img {
    transform: scale(1.15);
}

/* Gradient overlay that appears on hover */
.gallery_product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(6, 106, 130, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery_product:hover::before {
    opacity: 1;
}

/* Decorative corner accent */
.gallery_product::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 0;
    height: 0;
    border-top: 30px solid var(--secondary-color);
    border-left: 30px solid transparent;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    z-index: 2;
}

.gallery_product:hover::after {
    opacity: 0.9;
}

/* Icon overlay (magnifying glass or expand icon) */
.gallery_product .gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery_product:hover .gallery-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Optional caption/title overlay */
.gallery_product .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(6, 106, 130, 0.95), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery_product:hover .gallery-caption {
    transform: translateY(0);
}

.gallery_product .gallery-caption h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    margin: 0 0 5px;
    color: white;
    font-weight: 600;
}

.gallery_product .gallery-caption p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Border accent that grows on hover */
.gallery_product .gallery-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery_product:hover .gallery-border {
    opacity: 1;
    transform: scale(1);
}


/* ============================================================
   ALTERNATIVE STYLE VARIATIONS
   ============================================================ */

/* Style Variation 1: Soft Shadow Effect */
.gallery_product.style-soft {
    box-shadow: 0 2px 12px rgba(6, 106, 130, 0.08);
    border: 1px solid rgba(6, 106, 130, 0.1);
}

.gallery_product.style-soft:hover {
    box-shadow: 0 8px 28px rgba(6, 106, 130, 0.18);
    transform: translateY(-5px);
}

/* Style Variation 2: Bold Border Accent */
.gallery_product.style-bold {
    border: 4px solid transparent;
}

.gallery_product.style-bold:hover {
    border-color: var(--primary-color);
}

/* Style Variation 3: Minimal with Zoom Only */
.gallery_product.style-minimal {
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.gallery_product.style-minimal:hover {
    box-shadow: 0 4px 20px rgba(6, 106, 130, 0.15);
    transform: none;
}


/* ============================================================
   GRID LAYOUT UTILITIES
   ============================================================ */

/* Grid container for multiple gallery items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

/* For 2-column layout */
.gallery-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

/* For 3-column layout */
.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

/* For 4-column layout */
.gallery-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
}

/* Fixed aspect ratio for gallery items */
.gallery-grid .gallery_product,
.gallery-grid-2 .gallery_product,
.gallery-grid-3 .gallery_product,
.gallery-grid-4 .gallery_product {
    aspect-ratio: 4/3;
}


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* --- Tablet View (768px to 991px) --- */
@media (max-width: 991px) {
    .gallery_product {
        border-radius: 10px;
    }
    
    .gallery-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery_product .gallery-caption {
        padding: 15px;
    }
    
    .gallery_product .gallery-caption h4 {
        font-size: 1rem;
    }
    
    .gallery-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .gallery-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* --- Mobile View (600px to 767px) --- */
@media (max-width: 767px) {
    .gallery_product {
        border-radius: 8px;
        margin: 12px 0;
    }
    
    .gallery_product:hover {
        transform: translateY(-5px);
    }
    
    .gallery_product::after {
        top: 10px;
        right: 10px;
        border-top-width: 25px;
        border-left-width: 25px;
    }
    
    .gallery_product .gallery-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .gallery_product .gallery-caption {
        padding: 12px;
    }
    
    .gallery_product .gallery-caption h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .gallery_product .gallery-caption p {
        font-size: 12px;
    }
    
    .gallery-grid,
    .gallery-grid-2,
    .gallery-grid-3,
    .gallery-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 0;
    }
}

/* --- Small Mobile (400px and below) --- */
@media (max-width: 400px) {
    .gallery_product {
        border-radius: 6px;
        margin: 10px 0;
    }
    
    .gallery_product:hover {
        transform: translateY(-3px);
    }
    
    .gallery_product::after {
        top: 8px;
        right: 8px;
        border-top-width: 20px;
        border-left-width: 20px;
    }
    
    .gallery_product .gallery-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery_product .gallery-caption {
        padding: 10px;
    }
    
    .gallery_product .gallery-caption h4 {
        font-size: 0.9rem;
    }
    
    .gallery_product .gallery-caption p {
        font-size: 11px;
    }
    
    .gallery-grid,
    .gallery-grid-2,
    .gallery-grid-3,
    .gallery-grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 18px 0;
    }
    
    /* Disable some hover effects on very small screens */
    .right-content-area .gallery_product:hover img {
        transform: scale(1.08);
    }
}


/* ============================================================
   LOADING STATE (OPTIONAL)
   ============================================================ */

.gallery_product.loading {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Content area list styles (scoped to inner page content only) */
.innner-content .right-content-area ul,
.innner-content .right-content-area ol {
    padding-left: 0;
    margin-bottom: 22px;
    list-style: none;
}

/* --- Unordered List --- */
.innner-content .right-content-area ul li {
    position: relative;
    padding: 10px 15px 10px 38px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    list-style: none;
    border-bottom: 1px dashed #e8e8e8;
    transition: all 0.25s ease;
}

.innner-content .right-content-area ul li:last-child {
    border-bottom: none;
}

.innner-content .right-content-area ul li::before {
    content: '\F138';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 8px;
    top: 12px;
    color: var(--secondary-color);
    font-size: 15px;
    transition: transform 0.25s ease;
}

.innner-content .right-content-area ul li:hover {
    background-color: #f5faf7;
    padding-left: 42px;
    border-radius: 5px;
}

.innner-content .right-content-area ul li:hover::before {
    transform: translateX(2px);
    color: var(--primary-color);
}

.innner-content .right-content-area ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.innner-content .right-content-area ul li a:hover {
    color: var(--dark-primary);
    text-decoration: underline;
}

/* Nested ul (sub-list) */
.innner-content .right-content-area ul ul {
    margin: 8px 0 0 10px;
    padding-left: 0;
}

.innner-content .right-content-area ul ul li::before {
    content: '\F287';
    font-size: 11px;
    top: 11px;
    color: var(--accent-color);
}

/* --- Ordered List --- */
.innner-content .right-content-area ol {
    counter-reset: custom-counter;
}

.innner-content .right-content-area ol li {
    position: relative;
    padding: 10px 15px 10px 45px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    list-style: none;
    border-bottom: 1px dashed #e8e8e8;
    counter-increment: custom-counter;
    transition: all 0.25s ease;
}

.innner-content .right-content-area ol li:last-child {
    border-bottom: none;
}

.innner-content .right-content-area ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 6px;
    top: 10px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.innner-content .right-content-area ol li:hover {
    background-color: #f5faf7;
    border-radius: 5px;
}

.innner-content .right-content-area ol li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.innner-content .right-content-area ol li a:hover {
    color: var(--dark-primary);
    text-decoration: underline;
}

/* Content area tables */
.right-content-area table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 0 0 1px rgba(255,255,255,0.5);
}

.right-content-area table thead th,
.right-content-area table th {
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%), linear-gradient(135deg, var(--primary-color), var(--dark-primary));
    color: white;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    text-align: left;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.right-content-area table tbody td,
.right-content-area table td {
    padding: 11px 16px;
    font-size: 14px;
    color: #444;
    border: none;
    border-bottom: 1px solid #eee;
}

.right-content-area table tr:hover {
    background-color: #f8fcfa;
}

.right-content-area table tr:nth-child(even) {
    background-color: #fafbfc;
}

.right-content-area table a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%), linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(6, 106, 130, 0.2), inset 0 1px 0 rgba(255,255,255,0.25);
}

.right-content-area table a::before {
    content: '\F38B';
    font-family: 'bootstrap-icons';
    font-size: 14px;
}

.right-content-area table a:hover {
    background: linear-gradient(135deg, var(--dark-primary), var(--primary-color));
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(6, 106, 130, 0.3);
}

/* Responsive table wrapper for horizontal scroll on mobile */
.table-responsive-wrapper,
.table-cotaint {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.table-responsive-wrapper table,
.table-cotaint table {
    margin: 0;
    min-width: 400px;
}

/* Table action link / button */
.right-content-area table a.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%), linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(6, 106, 130, 0.2), inset 0 1px 0 rgba(255,255,255,0.25);
}

.right-content-area table a.btn-view:hover {
    background: linear-gradient(135deg, var(--dark-primary), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(6, 106, 130, 0.3);
}

/* ============================================================
   INNER PAGE – FACULTY CARD
   ============================================================ */
.innner-content .right-content-area .faculty {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
    padding: 20px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid #e8eef2;
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}

.innner-content .right-content-area .faculty:hover {
    background: linear-gradient(180deg, #f5fcf8 0%, #eaf5ef 100%);
    border-left-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(6, 106, 130, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.innner-content .right-content-area .faculty img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), inset 0 -2px 6px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.innner-content .right-content-area .faculty p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.9;
    color: #444;
    text-align: left;
    flex: 1;
}

.innner-content .right-content-area .faculty p strong:first-child {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.innner-content .right-content-area .faculty p a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 5px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%), linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(6, 106, 130, 0.2), inset 0 1px 0 rgba(255,255,255,0.25);
}

.innner-content .right-content-area .faculty p a::before {
    content: '\F341';
    font-family: 'bootstrap-icons';
    font-size: 13px;
}

.innner-content .right-content-area .faculty p a:hover {
    background: linear-gradient(135deg, var(--dark-primary), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(6, 106, 130, 0.3);
    color: white;
    text-decoration: none;
}

/* ============================================================
   INNER PAGE – RESPONSIVE
   ============================================================ */

/* --- Ultra Wide Desktop (1400px+) - constrain content width --- */
@media (min-width: 1400px) {
    .innner-content .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- Standard Large Desktop (1200px - 1399px) --- */
@media (min-width: 1200px) and (max-width: 1399px) {
    .innner-content .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- Tablet Landscape / Small Desktop (992px - 1199px) --- */
@media (max-width: 1199px) {
    .right-content-area {
        padding: 30px 30px;
    }
    .innner-content .right-content-area .faculty p strong:first-child {
        font-size: 15px;
    }
}

/* --- Below 991px: Sidebar loses sticky, reduced sizes --- */
@media (max-width: 991px) {
    .innner-content {
        padding: 30px 0 40px;
        min-height: auto;
    }
    .left-menu {
        position: static;
        margin-bottom: 25px;
    }
    .right-content-area {
        padding: 25px 22px;
    }
    .left-menu .lisst ul.important li a {
        padding: 10px 14px;
        font-size: 13px;
    }
    .left-menu .lisst ul.important li a::before {
        margin-right: 7px;
        font-size: 10px;
    }
    .left-menu h2 {
        font-size: 1.1rem;
        padding: 12px 14px;
    }
    .innner-content .right-content-area .faculty {
        gap: 16px;
        padding: 16px;
    }
    .innner-content .right-content-area .faculty img {
        width: 110px;
        height: 128px;
    }
    .innner-content .right-content-area .faculty p {
        font-size: 13.5px;
    }
    .innner-content .right-content-area .faculty p strong:first-child {
        font-size: 14.5px;
    }
    .right-content-area h2 {
        font-size: 1.4rem;
    }
    .right-content-area p {
        font-size: 14.5px;
    }
}

/* --- Tablet Portrait (below 768px): Columns stack --- */
@media (max-width: 767.98px) {
    .innner-content {
        padding: 25px 0 35px;
        min-height: auto;
    }
    
    /* Sidebar becomes full-width, add bottom margin for spacing */
    .innner-content .left-menu {
        margin-bottom: 22px;
    }
    .left-menu h2 {
        font-size: 1.1rem;
        padding: 12px 16px;
    }
    .left-menu .lisst ul.important li a {
        padding: 10px 16px;
        font-size: 13.5px;
    }
    .left-menu .lisst ul.important li a::before {
        margin-right: 9px;
        font-size: 11px;
    }
    
    /* Content area adjustments */
    .right-content-area {
        padding: 22px 18px;
    }
    .right-content-area h2 {
        font-size: 1.3rem;
        padding-bottom: 12px;
    }
    .right-content-area h2::after {
        width: 55px;
    }
    .right-content-area p {
        font-size: 14px;
        line-height: 1.75;
    }
    
    /* Faculty: image top, info bottom */
    .innner-content .right-content-area .faculty {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 18px 15px;
    }
    .innner-content .right-content-area .faculty img {
        width: 120px;
        height: 140px;
    }
    .innner-content .right-content-area .faculty p {
        text-align: center;
        font-size: 14px;
    }
    .innner-content .right-content-area .faculty p strong:first-child {
        font-size: 15px;
    }
    
    /* Lists */
    .innner-content .right-content-area ul li {
        padding: 8px 12px 8px 34px;
        font-size: 14px;
    }
    .innner-content .right-content-area ul li::before {
        left: 6px;
        top: 10px;
        font-size: 13px;
    }
    .innner-content .right-content-area ol li {
        padding: 8px 12px 8px 40px;
        font-size: 14px;
    }
    .innner-content .right-content-area ol li::before {
        width: 24px;
        height: 24px;
        font-size: 11px;
        left: 5px;
        top: 9px;
    }
    
    /* Table */
    .right-content-area table a {
        padding: 5px 14px;
        font-size: 12px;
    }
    .right-content-area table th,
    .right-content-area table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* --- Mobile Landscape (576px and below) --- */
@media (max-width: 576px) {
    .innner-content {
        padding: 20px 0 28px;
    }
    .right-content-area {
        padding: 18px 14px;
        border-radius: 8px;
    }
    .right-content-area h2 {
        font-size: 1.15rem;
        padding-bottom: 10px;
    }
    .right-content-area h2::after {
        width: 50px;
    }
    .right-content-area p {
        font-size: 13.5px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    .left-menu h2 {
        font-size: 1.05rem;
        padding: 11px 14px;
        border-radius: 8px 8px 0 0;
    }
    .left-menu .lisst ul.important {
        border-radius: 0 0 8px 8px;
    }
    .left-menu .lisst ul.important li a {
        padding: 9px 12px;
        font-size: 13px;
    }
    .left-menu .lisst ul.important li a::before {
        margin-right: 8px;
        font-size: 10px;
    }
    
    /* Faculty */
    .innner-content .right-content-area .faculty {
        padding: 15px 12px;
        margin-bottom: 14px;
        border-radius: 8px;
    }
    .innner-content .right-content-area .faculty img {
        width: 100px;
        height: 120px;
        border-radius: 6px;
    }
    .innner-content .right-content-area .faculty p {
        font-size: 13.5px;
        line-height: 1.8;
    }
    .innner-content .right-content-area .faculty p strong:first-child {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .innner-content .right-content-area .faculty p a {
        padding: 4px 14px;
        font-size: 12px;
    }
    
    /* Lists */
    .innner-content .right-content-area ul li {
        padding: 7px 10px 7px 30px;
        font-size: 13.5px;
    }
    .innner-content .right-content-area ul li:hover {
        padding-left: 34px;
    }
    .innner-content .right-content-area ol li {
        padding: 7px 10px 7px 36px;
        font-size: 13.5px;
    }
    .innner-content .right-content-area ol li::before {
        width: 22px;
        height: 22px;
        font-size: 10px;
        left: 4px;
    }
    
    /* Table */
    .right-content-area table a {
        padding: 4px 12px;
        font-size: 11.5px;
        gap: 4px;
    }
    .right-content-area table a::before {
        font-size: 12px;
    }
    .right-content-area table th,
    .right-content-area table td {
        padding: 8px 10px;
        font-size: 12.5px;
    }
    .table-responsive-wrapper,
    .table-cotaint {
        margin: 15px 0;
    }
}

/* --- Small Mobile (400px and below, covers 360px) --- */
@media (max-width: 400px) {
    .innner-content {
        padding: 15px 0 22px;
    }
    .innner-content .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    .right-content-area {
        padding: 14px 11px;
        border-radius: 6px;
    }
    .right-content-area h2 {
        font-size: 1.02rem;
        padding-bottom: 9px;
        margin-bottom: 5px;
    }
    .right-content-area h2::after {
        width: 40px;
        height: 2px;
    }
    .right-content-area p {
        font-size: 12.5px;
        line-height: 1.65;
        margin-bottom: 10px;
    }
    .left-menu h2 {
        font-size: 0.95rem;
        padding: 10px 11px;
    }
    .left-menu .lisst ul.important li a {
        padding: 8px 10px;
        font-size: 12.5px;
    }
    .left-menu .lisst ul.important li a::before {
        margin-right: 6px;
        font-size: 9px;
    }
    
    /* Faculty */
    .innner-content .right-content-area .faculty {
        padding: 12px 10px;
        margin-bottom: 12px;
        gap: 12px;
        border-left-width: 3px;
    }
    .innner-content .right-content-area .faculty img {
        width: 85px;
        height: 100px;
        border-width: 2px;
    }
    .innner-content .right-content-area .faculty p {
        font-size: 12.5px;
        line-height: 1.7;
    }
    .innner-content .right-content-area .faculty p strong:first-child {
        font-size: 13px;
    }
    .innner-content .right-content-area .faculty p a {
        padding: 3px 10px;
        font-size: 11px;
        margin-top: 5px;
    }
    
    /* Lists */
    .innner-content .right-content-area ul li {
        padding: 6px 8px 6px 26px;
        font-size: 12.5px;
    }
    .innner-content .right-content-area ul li::before {
        left: 4px;
        top: 8px;
        font-size: 12px;
    }
    .innner-content .right-content-area ul li:hover {
        padding-left: 30px;
    }
    .innner-content .right-content-area ol li {
        padding: 6px 8px 6px 32px;
        font-size: 12.5px;
    }
    .innner-content .right-content-area ol li::before {
        width: 20px;
        height: 20px;
        font-size: 9px;
        left: 3px;
        top: 7px;
    }
    
    /* Table */
    .right-content-area table th,
    .right-content-area table td {
        padding: 7px 8px;
        font-size: 12px;
    }
    .right-content-area table a {
        padding: 3px 9px;
        font-size: 10.5px;
        gap: 3px;
    }
    .right-content-area table a::before {
        font-size: 11px;
    }
    
    /* Disable hover transform on small touch screens */
    .innner-content .right-content-area .faculty:hover {
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 991px) {
    .header-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .header-buttons .btn-admission,
    .header-buttons .btn-fees {
        padding: 6px 10px;
        font-size: 12px;
    }
    .header-search .input-group {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .update-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* Header */
    .header-buttons {
        justify-content: center;
    }
    .header-search .input-group {
        max-width: 100%;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .main-nav-list.show {
        display: flex;
    }
    .main-nav-list > li {
        width: 100%;
    }
    .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
    }
    .main-nav-list li:hover > .nav-dropdown {
        display: block;
    }

    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .quick-links {
        justify-content: center;
    }

    /* Notices */
    .notice-section {
        padding: 2rem 0;
    }
    .notice-tab-btn {
        font-size: 11px;
        padding: 6px 10px !important;
    }
    .mobile-notice-content {
        padding: 15px;
    }

    /* Department Slider */
    .departments-slider-wrapper {
        padding: 0 30px;
    }
    .department-slide {
        flex: 0 0 220px;
        height: 200px;
    }
    .academics-title {
        font-size: 2rem;
    }

    /* Hero */
    .hero-slide {
        font-size: 1.8rem;
    }

    /* Updates */
    .updates-header h3 {
        font-size: 1.5rem;
    }
    .update-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .update-card-image {
        height: 150px;
    }
    .updates-slider-wrapper {
        padding: 0 40px;
    }
    .updates-nav-btn {
        width: 35px;
        height: 35px;
    }
    .updates-nav-btn i {
        font-size: 16px;
    }

    /* Portal */
    .portal-card {
        min-height: 140px;
        padding: 18px 12px;
    }
    .portal-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    .portal-icon-wrapper i {
        font-size: 20px;
    }
    .portal-title {
        font-size: 14px;
    }
    .portal-desc {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        font-size: 1.5rem;
    }
    .naac-badge {
        right: 10px;
        top: 10px;
        padding: 15px;
    }
    .naac-circle {
        width: 60px;
        height: 60px;
    }
    .departments-slider-wrapper {
        padding: 0 25px;
    }
    .department-slide {
        flex: 0 0 200px;
        height: 180px;
    }
}
.blinkimg {
	width:35px;
	float:right;
	height:auto;
}
