/* ============================================
   Frontend CSS
   সরকারি করিম উদ্দিন পাবলিক কলেজ
   ============================================ */

/* ============================================
   লোকাল Noto Sans Bengali ফন্ট
   ============================================ */
@font-face {
    font-family: 'Noto Sans Bengali';
    src: url('/fonts/NotoSansBengali-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============ রিসেট ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'Kalpurush', sans-serif !important;
    font-size: 14px;
    color: #1f2937;
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ ভেরিয়েবল ============ */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --yellow: #f59e0b;
    --red: #dc2626;
    --green: #16a34a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* লেআউট মাপ */
    --outer-width: 1180px;
    --content-width: 1100px;
    --content-padding: 40px;
}

/* ============ কন্টেইনার ============ */
.container-outer {
    width: 100%;
    max-width: var(--outer-width);
    margin: 0 auto;
}

.container-content {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 16px;
}
/* ============================================
   টপবার
   ============================================ */
.topbar {
    background: #3b9bc4 !important; /* ✅ আকাশী নীল (মেনু বারের সাথে মিল) */
    height: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

/* ============================================
   হেডার — Duaripara স্টাইল
   ============================================ */
.header-main {
    background: #4fb3d9;
    width: 100%;
    padding: 1rem 0;
}

.header-inner {
    max-width: 100%;
    width: 100%;
    padding: 0 var(--content-padding);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

/* দুই পাশের লোগো */
.header-logo {
    height: 6.5rem;
    width: 6.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

/* মাঝখানের কনটেন্ট */
.header-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.header-content h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.header-content .address {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0.15rem 0;
}

.header-content .info-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #ffffff;
    margin-top: 0.25rem;
}

.header-content .info-line span {
    white-space: nowrap;
}

/* ============================================
   নেভিগেশন — আকাশী নীল (আলাদা লাইনে)
   ============================================ */
.main-nav {
    background: #3b9bc4;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav-inner {
    max-width: 100%;
    width: 100%;
    padding: 0 var(--content-padding);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.main-nav a,
.main-nav .nav-dropdown > button {
    color: #ffffff;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
    cursor: pointer;
}

.main-nav a:hover,
.main-nav .nav-dropdown > button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.main-nav a.active {
    background: #0784b6;
    color: #ffffff;
    font-weight: 600;
}

/* ড্রপডাউন */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 0.4rem 0;
    min-width: 200px;
    z-index: 200;
    margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 1rem;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    background: none;
}

.nav-dropdown-menu a:hover {
    background: #f0f9ff;
    color: #0d4d4d;
    padding-left: 1.25rem;
}

/* মোবাইল টগল */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 0.4rem;
    cursor: pointer;
}

/* ============ রেসপন্সিভ ============ */
@media (max-width: 1023px) {
    .header-content h1 {
        font-size: 1.4rem;
    }
    
    .header-content .address {
        font-size: 0.9rem;
    }
    
    .header-logo {
        height: 4rem;
        width: 4rem;
    }
    
    .main-nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .main-nav a,
    .main-nav .nav-dropdown > button {
        font-size: 0.82rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 767px) {
    .header-inner,
    .main-nav-inner {
        padding: 0 16px;
    }
    
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.5rem;
    }
    
    .header-content h1 {
        font-size: 1rem;
    }
    
    .header-content .address {
        font-size: 0.75rem;
    }
    
    .header-content .info-line {
        font-size: 0.7rem;
        gap: 0.6rem;
    }
    
    .header-logo {
        height: 3rem;
        width: 3rem;
    }
    
    .navbar-toggle {
        display: flex;
    }
}
/* ============================================
   স্লাইডার
   ============================================ */
.hero-slider {
    position: relative;
    height: 370px;
    overflow: hidden;
    background: transparent;
    width: 100%;
}

.hero-slider-inner {
    max-width: var(--outer-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    height: 100%;
    width: 100%;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.35) 0%, rgba(30, 58, 138, 0.15) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    height: 100%;
    box-sizing: border-box;
}

.hero-text { max-width: 500px; color: #fff; }

.hero-text .welcome {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #ffffff;
}

.hero-text h2 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: #e0e7ff;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

.btn-hero-primary { background: #1e40af; color: #fff; }
.btn-hero-primary:hover { background: #1e3a8a; transform: translateY(-2px); }

.btn-hero-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-hero-outline:hover { background: #fff; color: #1e40af; }

.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
}

.hero-dot.active {
    background: #fbbf24;
    width: 32px;
    border-radius: 6px;
}


/* ============================================
   রেসপন্সিভ
   ============================================ */
@media (min-width: 768px) {
    .navbar-menu { display: flex; }
    .navbar-toggle { display: none; }
}

@media (max-width: 767px) {
    .navbar-menu { display: none; }
    .navbar-toggle { display: flex; }
    
    .topbar-info span:nth-child(2),
    .topbar-info span:nth-child(3) { display: none; }
    
    .topbar-search-btn { display: none; }
    
    .topbar-wrapper,
    .navbar-wrapper,
    .hero-slider-inner {
        padding: 0 16px;
    }
    
    .navbar-wrapper { height: 70px; }
    .navbar-brand img { height: 2.75rem; width: 2.75rem; }
    .navbar-brand-text h1 { font-size: 1rem; }
    .navbar-brand-text p { font-size: 0.75rem; }
    
    .hero-slider { height: 400px; }
    .hero-text h1 { font-size: 1.75rem; }
    .hero-text h2 { font-size: 0.95rem; }
    .hero-content { padding: 0 16px; }
}

/* ============ স্ক্রলবার ============ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* ============================================
   সর্বশেষ নোটিশ মার্কি
   ============================================ */
/* বাইরের বক্স — ১১৮০px, সাদা ব্যাকগ্রাউন্ড */
.notice-marquee {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}
/* ভেতরের কনটেইনার — ১১৮০px, প্যাডিং ৪০px দুইপাশে */
.notice-marquee-inner {
    max-width: var(--outer-width) !important;   /* 1180px */
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 var(--content-padding) !important; /* 40px, ব্যানারের মতোই */
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    height: 48px !important;
    background: #eff6ff !important;
    border-bottom: 1px solid #dbeafe !important;
}

/* লাল লেবেল */
.marquee-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: #dc2626;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    height: 32px;
    line-height: 1;
}

.marquee-label i {
    color: #dc2626;
    font-size: 1rem;
}

/* ডিভাইডার */
.marquee-divider {
    width: 1px;
    height: 22px;
    background: #d1d5db;
    margin: 0 1rem;
    flex-shrink: 0;
}

/* স্ক্রলিং কনটেন্ট */
.marquee-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-text:hover {
    animation-play-state: paused;
}

/* প্রতিটি নোটিশ */
.marquee-text a {
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-right: 3rem;
}

.marquee-text a:hover {
    color: #1e40af;
}

.marquee-text .badge-new {
    background: #dc2626;
    color: #fff;
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1;
    margin-left: 0.35rem;
}

/* নোটিশের মাঝে ডিভাইডার */
.marquee-text .item-divider {
    width: 1px;
    height: 18px;
    background: #d1d5db;
    margin: 0 1.5rem;
    flex-shrink: 0;
    display: inline-block;
}

/* সব নোটিশ লিংক */
.marquee-all-link {
    color: #1e40af;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-left: 1rem;
}

.marquee-all-link:hover {
    color: #1e3a8a;
    gap: 0.5rem;
}

/* স্ক্রল অ্যানিমেশন — ডান থেকে বামে */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 767px) {
    .notice-marquee-inner {
        padding: 0 16px;
        gap: 0.5rem;
    }
    
    .marquee-label {
        font-size: 0.78rem;
    }
    
    .marquee-label i {
        font-size: 0.85rem;
    }
    
    .marquee-divider {
        margin: 0 0.6rem;
    }
    
    .marquee-text a {
        font-size: 0.8rem;
        margin-right: 2rem;
    }
    
    .marquee-all-link {
        display: none;
    }
}


/* ============================================
   নোটিশ সেকশন + কলেজ সম্পর্কে
   ============================================ */

/* বাইরের বক্স — ট্রান্সপারেন্ট */
.notice-college-section {
    background: transparent;
    padding: 1.5rem 0;
    width: 100%;
    margin: 0;
}

/* ভেতরের কনটেইনার — ১১৮০px */
.notice-college-inner {
    max-width: var(--outer-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--content-padding);
    box-sizing: border-box;
    background: transparent;
}

/* গ্রিড — ২ কলাম */
.notice-college-grid {
    display: grid;
    grid-template-columns: 2.8fr 1fr !important;
    gap: 1.25rem;
    align-items: start;
}

/* ============================================
   নোটিশ বোর্ডের সিরিয়াল নম্বর
   ============================================ */
.notice-serial-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    color: #1e40af !important; /* ✅ গাঢ় নীল টেক্সট */
    border: 1px solid #dbeafe !important;
    border-radius: 50%; /* ✅ গোল আকৃতি */
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

/* মোবাইলে একটু ছোট হবে */
@media (max-width: 767px) {
    .notice-serial-number {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
}

/* ============ নোটিশ বোর্ড কার্ড ============ */
.notice-board {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    
}

/* হেডার */
.notice-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1.25rem;
    background: #eff6ff !important;
    border-bottom: 1px solid #dbeafe !important;
    border-radius: 0 !important;
}

.notice-board-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: .85rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.notice-board-header h3 i {
    color: #2563eb;
    font-size: 1rem;
}

.notice-board-header a {
    color: #1e40af;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.notice-board-header a:hover {
    color: #dc2626 !important;
    gap: 0.5rem;
    text-decoration: underline;
}

/* ফিল্টার ট্যাব */
.notice-filters {
    display: flex;
    justify-content: center !important; /* ✅ ট্যাবগুলোকে মাঝখানে আনবে */
    align-items: center;
    gap: 0.75rem !important; 
    padding: 1rem 1.25rem !important; 
    flex-wrap: wrap;
    border-bottom: 1px solid #f3f4f6;
}

.filter-tab {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 0.45rem 1.1rem !important; /* ✅ বাটনের ভেতরের স্পেস বাড়ানো হলো */
    border-radius: 9999px;
    font-size: 0.8rem !important; /* ✅ ফন্ট সাইজ সামান্য বাড়ানো হলো */
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: #e2e8f0;
    color: #1e40af;
}

.filter-tab.active {
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

/* নোটিশ লিস্ট */
.notice-list {
    padding: 0 1.25rem;
}

/* প্রতিটি নোটিশ আইটেম */
.notice-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed #e5e7eb;
    text-decoration: none;
    transition: background 0.2s ease;
}

.notice-row:last-child {
    border-bottom: none;
}

.notice-row:hover {
    background: #f9fafb;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* তারিখ ব্যাজ (Pill) */
.notice-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    color: #374151;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-date-pill .day {
    font-weight: 700;
    color: #111827;
}

/* নতুন ব্যাজ */
.notice-new-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.62rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* নোটিশ শিরোনাম */
.notice-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.notice-row:hover .notice-title {
    color: #1e40af;
}

/* PDF আইকন */
.notice-pdf {
    color: #dc2626;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.notice-row:hover .notice-pdf {
    transform: scale(1.15);
}


/* ============ রেসপন্সিভ ============ */
@media (max-width: 1023px) {
    .notice-college-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .notice-college-inner {
        padding: 0 16px;
    }
    
    .notice-board-header {
        padding: 0.85rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .notice-filters {
        padding: 0.75rem 1rem;
        gap: 0.4rem;
    }
    
    .filter-tab {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
    }
    
    .notice-list {
        padding: 0 1rem;
    }
    
    .notice-row {
        gap: 0.5rem;
        padding: 0.6rem 0;
    }
    
    .notice-date-pill {
        font-size: 0.65rem;
        padding: 0.2rem 0.55rem;
    }
    
    .notice-title {
        font-size: 0.78rem;
    }
    
    .college-about-image {
        height: 120px;
    }
}
/* No Notices Message */
.no-notices {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
}

/* ============================================
   অধ্যক্ষ
   ============================================ */

.principal-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

/* হেডার */
.principal-card-header {
    padding: 0.5rem 1.15rem;
    background: #eff6ff !important;
    border-bottom: 1px solid #dbeafe !important;
    border-radius: 0 !important;
}

.principal-card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: .85rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.principal-card-header h3 i {
    color: #0d9488;
    font-size: 1.15rem;
}

/* বডি */
.principal-card-body {
    padding: 1rem 1.15rem 1.15rem;
}

/* ছবির কন্টেইনার */
.principal-info {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0.2rem !important; /* ✅ ০.৭৫rem থেকে ০.২rem করা হলো */
    padding-top: 1.5rem !important;  
}

/* পাসপোর্ট সাইজ ছবি */
.principal-passport-img {
    width: 210px !important;   /* ✅ ১২০ থেকে ১৫০ করা হলো */
    height: 230px !important;  /* ✅ ১৫০ থেকে ১৯০ করা হলো */
    object-fit: cover;
    border-radius: 6px;
    border: 5px solid #eff6ff !important
}

/* নাম, পদবি ও প্রতিষ্ঠান */
.principal-details {
    text-align: center !important;
    padding: 0 !important;
    border-top: none !important;
    margin-bottom: 0.5rem !important;
}

.principal-name {
    font-size: 0.95rem !important;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.2rem;
}

.principal-designation {
    font-size: 0.85rem !important;
    color: #0d9488;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.principal-institution {
    font-size: 0.78rem !important;
    color: #6b7280;
    margin: 0;
}

/* কার্ডের বডি প্যাডিং কমানো */
.principal-card-body {
    padding: 0.5rem 1rem 1rem !important; 
}

/* ============ রেসপন্সিভ ============ */
@media (max-width: 767px) {
    .principal-image {
        width: 80px;
        height: 100px;
    }
    
    .principal-message {
        font-size: 0.72rem;
    }
}

/* ============================================
   একাডেমিক প্রোগ্রাম ও সম্পাদক সেকশন
   ============================================ */

/* বাইরের বক্স — ট্রান্সপারেন্ট */
.academic-section {
    background: transparent;
    padding: 10px 0;
    width: 100%;
    margin: 0;
}

/* ভেতরের কনটেইনার — ১১৮০px */
.academic-inner {
    max-width: var(--outer-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--content-padding);
    box-sizing: border-box;
}
/* সাদা কার্ড */
.academic-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem; /* প্যাডিং ঠিক করা হলো */
    height: auto; /* নির্দিষ্ট উচ্চতা সরানো হলো */
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* উপর-নিচ সাজানো */
    gap: 1rem;
}

/* হেডার (টাইটেল ও সাব-টাইটেল) */
/* সাদা কার্ড */
.academic-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* পুরো কার্ডের ভেতরের জিনিস উপরে-নিচে থাকবে */
    gap: 1rem;
}

/* হেডার (টাইটেল ও বাটন পাশাপাশি) */
.academic-header {
    display: flex !important;
    justify-content: space-between !important; /* ✅ বামে টাইটেল, ডানে বাটন */
    align-items: center !important; /* ✅ লম্বালম্বিভাবে সেন্টার */
    width: 100%;
    gap: 1rem;
    flex-wrap: nowrap; 
}

/* হেডারের ভেতরের টেক্সট (টাইটেল + সাব-টাইটেল) */
.academic-header-text h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.academic-header-text h2 i {
    color: #1e40af;
    font-size: 1.25rem;
}

.academic-header-text p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.academic-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
}

.academic-header h2 i {
    color: #1e40af;
    font-size: 1.25rem;
}

.academic-header p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ডান দিকের কার্ড গ্রিড (২x২) */
.academic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important; /* ✅ ৪টি কার্ড এক সারিতে */
    gap: 0.5rem;
    width: 100%;
}

/* প্রতিটি কার্ড (আগের মতোই থাকবে, তবে একটু কমপ্যাক্ট) */
.academic-item {
    display: flex;
    flex-direction: row; /* আইকন ও টেক্সট পাশাপাশি */
    align-items: center;
    text-align: left;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    gap: 0.5rem;
}

.academic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* আইকন */
/* প্রতিটি কার্ড */
.academic-item {
    display: flex;
    flex-direction: column;
    align-items: center !important; /* ✅ আইকন ও লেখা মাঝখানে আনবে */
    justify-content: center !important; /* ✅ উপরে-নিচে মাঝখানে আনবে */
    text-align: center !important; /* ✅ লেখা সেন্টারে রাখবে */
    padding: 0.85rem 0.5rem !important;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    gap: 0.5rem; /* আইকন ও লেখার মাঝে গ্যাপ */
}

/* কার্ডের ভেতরের লেখা */
.academic-item h3 {
    font-size: 1.05rem !important; /* ✅ এখানে সাইজ বড় করা হলো */
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.25;
    text-align: center !important;
}

.academic-item p {
    font-size: 0.85rem !important; /* ✅ এখানে সাইজ বড় করা হলো */
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    word-break: break-word;
    text-align: center !important;
}

/* ফুটার (বাটন) */
.academic-footer {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

/* বাটন */
.btn-academic-main {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ffffff;
    color: #1e40af;
    border: 1.5px solid #1e40af;
    padding: 0.35rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: fit-content;
}

.btn-academic-main:hover {
    background: #1e40af;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ডান দিকের কার্ড গ্রিড */
.academic-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    height: 100%;
}

/* প্রতিটি কার্ড */
.academic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0.85rem 0.5rem 0.6rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.academic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* কার্ডের আইকন */
.academic-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
    margin-left: auto !important;  /* ✅ আইকন মাঝখানে আনবে */
    margin-right: auto !important;
}

/* কার্ডের শিরোনাম */
.academic-item h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

/* কার্ডের বিবরণ */
.academic-item p {
    font-size: 0.72rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    word-break: break-word;
    overflow: hidden;
}

/* ============ কার্ডের রঙ ভ্যারিয়েন্ট ============ */
.academic-item.card-blue {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}
.academic-item.card-blue .academic-icon {
    background: #dbeafe;
    color: #1e40af;
}
.academic-item.card-blue p { color: #1e40af; }

.academic-item.card-green {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}
.academic-item.card-green .academic-icon {
    background: #dcfce7;
    color: #15803d;
}
.academic-item.card-green p { color: #15803d; }

.academic-item.card-red {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.academic-item.card-red .academic-icon {
    background: #fee2e2;
    color: #b91c1c;
}
.academic-item.card-red p { color: #b91c1c; }

.academic-item.card-orange {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}
.academic-item.card-orange .academic-icon {
    background: #ffedd5;
    color: #c2410c;
}
.academic-item.card-orange p { color: #c2410c; }

.academic-item.card-purple {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}
.academic-item.card-purple .academic-icon {
    background: #f3e8ff;
    color: #7e22ce;
}
.academic-item.card-purple p { color: #7e22ce; }

.academic-item.card-yellow {
    background: #fefce8;
    color: #a16207;
    border-color: #fef08a;
}
.academic-item.card-yellow .academic-icon {
    background: #fef9c3;
    color: #a16207;
}
.academic-item.card-yellow p { color: #a16207; }

.academic-item.card-pink {
    background: #fdf2f8;
    color: #be185d;
    border-color: #fbcfe8;
}
.academic-item.card-pink .academic-icon {
    background: #fce7f3;
    color: #be185d;
}
.academic-item.card-pink p { color: #be185d; }

.academic-item.card-indigo {
    background: #eef2ff;
    color: #4338ca;
    border-color: #c7d2fe;
}
.academic-item.card-indigo .academic-icon {
    background: #e0e7ff;
    color: #4338ca;
}
.academic-item.card-indigo p { color: #4338ca; }


/* ============================================
   নিচের গ্রিড লেআউট (একাডেমিক + সম্পাদক)
   ============================================ */

.bottom-grid-section {
    display: grid !important;
    grid-template-columns: 2.8fr 1fr !important; /* ✅ উপরের নোটিশ-অধ্যক্ষ কার্ডের মতো অনুপাত (২.৮ : ১) */
    gap: 1.5rem !important;
    max-width: var(--outer-width) !important;
    margin: 1.5rem auto !important;
    padding: 0 var(--content-padding) !important;
    align-items: stretch !important;
}

/* বাম দিকের একাডেমিক সেকশন */
.bottom-left-col {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.bottom-left-col .academic-section {
    width: 100% !important;
    padding: 0 !important;
    flex: 1 !important; /* ✅ পুরো জায়গা নেবে */
    display: flex !important;
    flex-direction: column !important;
}

.bottom-left-col .academic-inner {
    padding: 0 !important;
    flex: 1 !important;
    display: flex !important;
}

.bottom-left-col .academic-card {
    flex: 1 !important; /* ✅ কার্ডটি লম্বা হবে */
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* ✅ হেডার উপরে, কার্ড নিচে */
    padding: 1rem !important;
}

/* ============================================
   সম্পাদকের কার্ড সাইজ ঠিক করা (অধ্যক্ষের কার্ডের মতো)
   ============================================ */

.bottom-right-col {
    width: 100% !important;
    position: sticky;
    top: 20px;
    display: flex;
    justify-content: center;
}

/* নিচের গ্রিড */
.bottom-grid-section {
    display: grid !important;
    grid-template-columns: 2.8fr 1fr !important;
    gap: 1.5rem !important;
    max-width: var(--outer-width) !important;
    margin: 1.5rem auto !important;
    padding: 0 var(--content-padding) !important;
    align-items: stretch !important; /* ✅ দুই কার্ড সমান উচ্চতা পাবে */
}

/* সম্পাদকের কার্ড */
.bottom-right-col {
    width: 100% !important;
    position: sticky;
    top: 20px;
}

.bottom-right-col .principal-card {
    margin-top: 0 !important;
    height: auto !important; /* ✅ কার্ডের উচ্চতা কনটেন্ট অনুযায়ী হবে */
    width: 100% !important;
    max-width: 282px; /* ✅ কার্ডের সর্বোচ্চ চওড়া অধ্যক্ষের কার্ডের মতো */
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.bottom-right-col .principal-card-body {
    padding-top: 0.1rem !important; /* ✅ উপরের প্যাডিং কমিয়ে আনা হলো */
    padding-bottom: 1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============ রেসপন্সিভ (মোবাইল ও ট্যাবলেট) ============ */

@media (max-width: 1023px) {
    /* ট্যাবলেটে একাডেমিক কার্ডের ভেতরের ডিজাইন পরিবর্তন */
    .academic-card {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .academic-intro {
        width: 100%;
        height: auto;
    }
    
    .academic-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 0.5rem;
    }
    
    .academic-item {
        height: auto;
        min-height: 90px;
    }

    /* ট্যাবলেটে নিচের গ্রিড একটির নিচে আরেকটি */
    .bottom-grid-section {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .bottom-right-col {
        position: static;
    }
}

@media (max-width: 767px) {
    .academic-inner {
        padding: 0 16px;
    }
    
    .academic-card {
        padding: 0.85rem;
    }
    
    .academic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .academic-intro h2 {
        font-size: 0.9rem;
    }
    
    .academic-intro p {
        font-size: 0.68rem;
    }
    
    .academic-item h3 {
        font-size: 0.7rem;
    }
    
    .academic-item p {
        font-size: 0.6rem;
    }
}
/* ============================================
   সাম্প্রতিক সংবাদ + গ্যালারি সেকশন
   ============================================ */

/* বাইরের বক্স — ট্রান্সপারেন্ট */
.news-gallery-section {
    background: transparent;
    padding: 1.5rem 0;
    width: 100%;
    margin: 0;
}

/* ভেতরের কনটেইনার — ১১৮০px */
.news-gallery-inner {
    max-width: var(--outer-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--content-padding);
    box-sizing: border-box;
}

/* ২ কলাম গ্রিড */
.news-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* ============ কমন কার্ড ============ */
.ng-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

/* হেডার */
.ng-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.1rem;
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    border-bottom: 1px solid #dbeafe !important; /* ✅ হালকা নীল বর্ডার */
    border-radius: 0 !important; /* ✅ ফ্ল্যাট কর্নার */
}

/* হেডারের টাইটেলের রঙ গাঢ় নীল */
.ng-card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a8a !important; 
    margin: 0;
}

/* হেডারের আইকনের রঙ */
.ng-card-header h3 i {
    color: #1e40af !important;
    font-size: 1.1rem;
}

/* ডান দিকের "সব দেখুন →" লিংকের রঙ */
.ng-card-header a {
    color: #1e40af !important;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.ng-card-header a:hover {
    color: #dc2626 !important; /* হোভার করলে লাল হবে */
}

/* ============ সংবাদ সেকশন ============ */
.news-list {
    padding: 0.4rem 1.1rem;
}

.news-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f9fafb;
    margin: 0 -1.1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

/* ছবি */
.news-item-image {
    width: 100px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* কনটেন্ট */
.news-item-content {
    flex: 1;
    min-width: 0;
}

/* তারিখ */
.news-item-date {
    font-size: 0.68rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

/* শিরোনাম */
.news-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.news-item:hover .news-item-title {
    color: #1e40af;
}

/* সংক্ষিপ্ত বিবরণ */
.news-item-desc {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ গ্যালারি সেকশন ============ */
.gallery-grid-ng {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 1.1rem 1.1rem;
}

.gallery-item-ng {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: #f3f4f6;
}

.gallery-item-ng img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-ng:hover img {
    transform: scale(1.1);
}

/* ছবির নিচে টেক্সট */
.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 1.25rem 0.5rem 0.4rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ রেসপন্সিভ ============ */
@media (max-width: 1023px) {
    .news-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .news-gallery-inner {
        padding: 0 16px;
    }
    
    .ng-card-header {
        padding: 0.75rem 0.9rem;
    }
    
    .ng-card-header h3 {
        font-size: 0.85rem;
    }
    
    .news-list {
        padding: 0.3rem 0.9rem;
    }
    
    .news-item-image {
        width: 50px;
        height: 50px;
    }
    
    .news-item-title {
        font-size: 0.78rem;
    }
    
    .news-item-desc {
        font-size: 0.65rem;
    }
    
    .gallery-grid-ng {
        padding: 0.6rem 0.9rem 0.9rem;
        gap: 0.4rem;
    }
}

/* ============================================
   পুরো সাইটের wrapper — একটি বক্সের মধ্যে
   ============================================ */

/* বাইরের body — হালকা ধূসর ব্যাকগ্রাউন্ড */
body {
    background: #eef2f7;
    padding: 0;
    margin: 0;
}

/* সাইট wrapper — ১১৮০px বক্স, সাদা ব্যাকগ্রাউন্ড */
.site-wrapper {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    min-height: 100vh;
    overflow: hidden;
}

/* ভেতরের সব সেকশনের padding ঠিক করা */
.site-wrapper .topbar-wrapper,
.site-wrapper .navbar-wrapper,
.site-wrapper .hero-slider-inner,
.site-wrapper .notice-marquee-inner,
.site-wrapper .notice-college-inner,
.site-wrapper .about-inner,
.site-wrapper .academic-inner,
.site-wrapper .news-gallery-inner {
    padding: 0 var(--content-padding);
    max-width: 100%;
}

/* টপ বার — ১১৮০px-এর মধ্যে */
.site-wrapper .topbar-wrapper {
    background: #1e3a8a;
    max-width: 100%;
    margin: 0;
}

/* মেনু বার — ১১৮০px-এর মধ্যে */
.site-wrapper .navbar-wrapper {
    background: #ffffff;
    max-width: 100%;
    margin: 0;
}

/* হিরো স্লাইডার — ১১৮০px-এর মধ্যে */
.site-wrapper .hero-slider-inner {
    max-width: 100%;
    margin: 0;
    background: #1e3a8a;
}

/* নোটিশ মার্কি — ১১৮০px-এর মধ্যে */
.site-wrapper .notice-marquee {
    background: none;
    width: 100%;
    margin: 0;
}

.site-wrapper .notice-marquee-inner {
    max-width: 100%;
    margin: 0 auto;
}

/* ফুটার — ১১৮০px-এর মধ্যে */
/* ফুটার — ১১৮০px-এর মধ্যে */
.site-wrapper .footer {
    background: #3b9bc4 !important; /* ✅ আপনার দেওয়া আকাশী নীল রঙ */
    margin-top: 0;
    width: 100%;
}

.site-wrapper .footer > .container,
.site-wrapper .footer > div {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* ============ রেসপন্সিভ ============ */
@media (max-width: 1023px) {
    .site-wrapper {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }
    
    .site-wrapper .topbar-wrapper,
    .site-wrapper .navbar-wrapper,
    .site-wrapper .hero-slider-inner,
    .site-wrapper .notice-marquee-inner,
    .site-wrapper .notice-college-inner,
    .site-wrapper .about-inner,
    .site-wrapper .academic-inner,
    .site-wrapper .news-gallery-inner {
        padding: 0 16px;
    }
}
body {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 20px 20px;
}

/* ============================================
   শিক্ষক পরিষদ পেজ (নতুন ডিজাইন - ফাইনাল)
   ============================================ */
.teacher-council-page {
    padding: 2rem 20px !important; /* ✅ ডান-বামে ৬০px থেকে কমিয়ে ২০px করা হলো */
    background: #f8fafc !important;
    min-height: 80vh;
}

.teacher-council-page .wrapper {
    max-width: 100% !important;
    margin: 2rem 40px !important; /* ✅ ডান-বামে ৪০ পিক্সেল গ্যাপ (সংকোচন) */
    padding: 20px 24px !important; 
    background: #ffffff !important;
    border: 1px solid #e1e8f5 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(30, 60, 120, .06) !important;
}

/* ============================================
   হেডার ঠিক করা (আইকন ও টাইটেল মাঝখানে, কাউন্ট ডানে)
   ============================================ */
.teacher-council-page .card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* ✅ বাম-ডান স্পেস */
    position: relative !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    padding: 5px 0 !important;
}

/* মাঝখানের গ্রুপ (আইকন + টাইটেল) */
.teacher-council-page .card-header .header-center-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important; /* ✅ একদম মাঝখানে */
}

.teacher-council-page .card-header .h-icon {
    width: 28px !important; 
    height: 28px !important; 
    font-size: 13px !important;
    border-radius: 6px;
    background: #1f4aa0;
    color: #fff;
    display: grid; 
    place-items: center;
    flex-shrink: 0;
}

.teacher-council-page .card-header h2 {
    margin: 0 !important;
    font-size: 18px !important;
    white-space: nowrap;
}

/* কাউন্ট ডান দিকে */
.teacher-council-page .card-header .count { 
    margin-left: auto !important;
    padding: 4px 10px !important;
    background: #e8f1fd !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    color: #123a85 !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

/* ============================================
   ফিচার্ড কার্ড (সম্পাদক)
   ============================================ */
.teacher-council-page .principal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 20px 16px !important;
    margin: 0 auto 16px auto !important;
    width: calc((100% - 32px) / 2) !important;
    max-width: 100%;
    min-height: 150px !important;
    background: linear-gradient(100deg, #1f4aa0, #0f2f78);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 6px 14px rgba(18, 58, 133, .25);
}
.teacher-council-page .principal .avatar {
    width: 90px !important; /* ✅ ৭০px থেকে বাড়িয়ে ৯০px */
    height: 90px !important;
    border: 3px solid rgba(255,255,255,.85);
    border-radius: 50%;
    overflow: hidden;
    display: grid; 
    place-items: center;
    font-size: 30px !important;
    background: #dbe6fb;
    color: #1f4aa0;
    flex-shrink: 0;
}
.teacher-council-page .principal .avatar img {
    width: 100%; height: 100%; object-fit: cover;
}
.teacher-council-page .principal .info h3 { 
    font-size: 16px !important; 
    font-weight: 700; 
    margin: 0; 
}
.teacher-council-page .principal .info .role {
    display: inline-block;
    margin: 3px 0 4px;
    padding: 2px 10px !important;
    background: rgba(255,255,255,.18);
    border-radius: 20px;
    font-size: 11.5px !important;
    font-weight: 600;
}
.teacher-council-page .principal .info .org { 
    font-size: 12px !important; 
    opacity: .92; 
}
.teacher-council-page .principal .contacts { 
    margin-left: auto; 
    display: flex; 
    gap: 8px; 
}
.teacher-council-page .principal .contacts a {
    width: 30px !important; 
    height: 30px !important;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    display: grid; 
    place-items: center;
    font-size: 12px !important;
    text-decoration: none;
    transition: .15s;
}
.teacher-council-page .principal .contacts a:hover { background: rgba(255,255,255,.32); }

/* ============================================
   গ্রিড ও কার্ড
   ============================================ */
/* গ্রিড কন্টেইনার (মাঝখানে রাখার জন্য) */
.teacher-council-page .grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* ✅ সব কার্ড মাঝখানে থাকবে */
    gap: 16px !important;
    width: 100%;
    max-width: 900px; /* ✅ গ্রিডের সর্বোচ্চ চওড়া (খুব বেশি ছড়াবে না) */
    margin: 0 auto !important; /* ✅ গ্রিডটি মাঝখানে থাকবে */
}

/* প্রতিটি কার্ড */
.teacher-council-page .t-card {
    /* ৩টি কার্ডের জন্য জায়গা হিসাব করা হলো: (১০০% - ২টি গ্যাপ (৩২px)) / ৩ */
    flex: 0 0 calc((100% - 32px) / 3) !important; 
    position: relative;
    padding: 14px 10px !important;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e8f6;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(30, 60, 120, .06);
    transition: transform .18s, box-shadow .18s;
    overflow: hidden;
}
.teacher-council-page .t-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main), var(--dark));
}
.teacher-council-page .t-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(30, 60, 120, .12);
}

.teacher-council-page .avatar {
    position: relative;
    width: 80px !important;  /* ✅ ৬৫px থেকে বাড়িয়ে ৮০px করা হলো */
    height: 80px !important; /* ✅ ৬৫px থেকে বাড়িয়ে ৮০px করা হলো */
    margin: 0 auto 10px !important;
    border-radius: 50%;
    border: 3px solid var(--main);
    background: var(--light);
    color: var(--main);
    display: grid; 
    place-items: center;
    font-size: 28px !important; /* ✅ আইকনের সাইজও একটু বড় */
    overflow: hidden;
    box-shadow: 0 0 0 3px #fff;
}
.teacher-council-page .avatar img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.teacher-council-page .t-card h4 { 
    font-size: 14px !important; 
    font-weight: 700; 
    color: #123a85; 
    margin: 0; 
}
.teacher-council-page .t-card .desig {
    display: inline-block;
    margin: 2px 0 2px !important;
    padding: 1px 6px !important;
    border-radius: 20px;
    font-size: 10.5px !important;
    font-weight: 600;
    background: var(--light);
    color: var(--dark);
}
.teacher-council-page .t-card .dept { 
    font-size: 10.5px !important; 
    color: #4a5875; 
}

.teacher-council-page .t-card .contacts {
    display: flex;
    justify-content: center;
    gap: 6px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #d9e3f4;
}
.teacher-council-page .t-card .contacts a {
    width: 26px !important; 
    height: 26px !important;
    border-radius: 50%;
    background: #edf2fb;
    color: #1f4aa0;
    display: grid; 
    place-items: center;
    font-size: 11px !important;
    text-decoration: none;
    transition: .15s;
}
.teacher-council-page .t-card .contacts a:hover { background: var(--main); color: #fff; }

/* খালি অবস্থা */
.teacher-council-page .empty {
    text-align: center;
    padding: 30px 10px;
    color: #6b7a99;
    font-size: 14px;
}
.teacher-council-page .empty i { display: block; font-size: 30px; margin-bottom: 8px; color: #b6c6e4; }

/* রঙের থিম */
.teacher-council-page .navy   { --main:#1f4aa0; --dark:#123a85; --light:#dbe6fb; }
.teacher-council-page .green  { --main:#12a150; --dark:#0b7a3a; --light:#d7f3e2; }
.teacher-council-page .blue   { --main:#1e88e5; --dark:#1565c0; --light:#d9ecff; }
.teacher-council-page .purple { --main:#7b2cbf; --dark:#5a189a; --light:#eadcf8; }
.teacher-council-page .teal   { --main:#1fa89a; --dark:#117a6f; --light:#d6f3ef; }

/* মোবাইল রেসপন্সিভ */
@media (max-width: 600px) {
    .teacher-council-page .wrapper { padding: 12px 10px 16px !important; }
    .teacher-council-page .card-header .header-center-group { position: relative !important; left: auto !important; transform: none !important; margin: 0 auto !important; }
    .teacher-council-page .card-header { flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; }
    .teacher-council-page .card-header .count { margin: 0 auto !important; }
    .teacher-council-page .principal { flex-direction: column; text-align: center; }
    .teacher-council-page .principal .contacts { margin-left: 0; }
    .teacher-council-page .grid { gap: 10px !important; }
    .teacher-council-page .t-card { flex-basis: calc((100% - 10px) / 2); padding: 14px 8px 10px !important; }
    .teacher-council-page .t-card h4 { font-size: 13px !important; }
}
@media (max-width: 380px) {
    .teacher-council-page .t-card { flex-basis: 100%; }
}
/* ============================================
   নোটিশ ডিটেইলস পেজ
   ============================================ */
.notice-details-section {
    padding: 2rem 0 4rem;
    background-color: #f8fafc;
    min-height: 80vh;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-back:hover {
    color: #1e3a8a;
    transform: translateX(-3px);
}

.notice-details-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.notice-details-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.notice-details-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.notice-details-meta i {
    color: #1e40af;
    margin-right: 0.3rem;
}

.badge-category {
    background: #eff6ff;
    color: #1e40af;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.notice-details-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

/* কনটেন্টের ভেতরের ট্যাগগুলোর স্টাইল */
.notice-details-content p {
    margin-bottom: 1rem;
}
.notice-details-content ul, 
.notice-details-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.notice-details-attachment {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e5e7eb;
    text-align: center;
}

.notice-details-attachment h4 {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1e40af;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.btn-download:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
    color: #ffffff;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 767px) {
    .notice-details-card {
        padding: 1.5rem;
    }
    .notice-details-title {
        font-size: 1.4rem;
    }
    .notice-details-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   সকল নোটিশ পেজ
   ============================================ */
.all-notices-section {
    padding: 3rem 0;
    background-color: #f8fafc;
    min-height: 80vh;
}

.notice-board-page {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* পেজিনেশন স্টাইল */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem;
    list-style: none;
}

.pagination li a,
.pagination li span {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #374151;
    text-decoration: none;
    font-size: 0.85rem;
}

.pagination li.active span {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
}

.pagination li a:hover {
    background: #f3f4f6;
}

/* ============================================
   শিক্ষকমণ্ডলী পেজ
   ============================================ */
.teachers-page-section {
    padding: 3rem 0;
    background-color: #f8fafc;
    min-height: 80vh;
}

/* পেজের হেডার (মাঝখানে) */
.page-header {
    text-align: center !important;
    margin-bottom: 2.5rem;
}
.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    text-align: center !important;
}
.page-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center !important;
}


.table-responsive {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    max-width: 1100px;
    margin: 0 auto;
}

.teachers-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* টেবিল যাতে চেপে না যায় */
}

.teachers-table th {
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    color: #1e3a8a !important; /* ✅ গাঢ় নীল টেক্সট */
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid #dbeafe !important; /* ✅ হালকা নীল বর্ডার */
}

.teachers-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #374151;
    vertical-align: middle;
}

/* জোড়-বিজোড় সারির রঙ */
.teachers-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.teachers-table tbody tr:hover {
    background-color: #eff6ff; /* হালকা নীল হোভার */
    transition: background 0.2s ease;
}

.teacher-name {
    font-weight: 600;
    color: #1e3a8a;
}

.designation {
    font-weight: 500;
}

.department {
    font-size: 0.8rem;
    color: #6b7280;
    display: block;
}

/* টেবিলের ভেতরের ছবি */
.table-img-box {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #dbeafe;
}

.table-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* বিস্তারিত বাটন */
.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1e3a8a;
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-details:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

.btn-details i {
    font-size: 0.7rem;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 767px) {
    .teachers-page-section {
        padding: 1.5rem 0;
    }
    .teachers-table th, 
    .teachers-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   শিক্ষক প্রোফাইল পেজ (স্ক্রিনশটের মতো হুবহু)
   ============================================ */
.teacher-profile-section {
    padding: 2rem 40px 4rem !important; /* ✅ ডান-বামে ৪০ পিক্সেল প্যাডিং */
    background-color: #f4f6f9;
    min-height: 80vh;
}

/* উপরের প্রোফাইল কার্ড */
.profile-header-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.profile-top-row {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.profile-img-wrapper {
    width: 160px;
    height: 190px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #eff6ff;
    flex-shrink: 0;
    background: #f3f4f6;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-name {
    font-size: 1.4rem !important; /* ✅ ১.৬ থেকে ১.৪ করা হলো */
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.2rem;
}

.profile-designation {
    font-size: 0.95rem !important; /* ✅ ১.০ থেকে ০.৯৫ করা হলো */
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.profile-dept {
    font-size: 0.85rem !important; /* ✅ ০.৯ থেকে ০.৮৫ করা হলো */
    color: #4b5563;
    margin-bottom: 1rem;
    font-weight: 500;
}

.profile-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    font-size: 0.8rem !important; /* ✅ ০.৮৫ থেকে ০.৮ করা হলো */
    color: #374151;
}

.profile-contact-grid i {
    color: #1e40af;
    margin-right: 0.5rem;
    width: 14px;
    text-align: center;
}

/* ডান দিকের কোট বক্স */
.profile-quote-box {
    width: 280px;
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.profile-quote-box .quote-icon {
    color: #93c5fd;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-quote-box p {
    font-size: 0.8rem !important;
    color: #1e3a8a;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.profile-quote-box span {
    font-size: 0.75rem !important;
    color: #6b7280;
    font-weight: 600;
    text-align: right;
}

/* নেভিগেশন ট্যাব (যদি থাকে) */
.profile-tabs {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.profile-tab-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    border-right: 1px solid #e5e7eb;
}

.profile-tab-item.active {
    background: #1e3a8a;
    color: #ffffff;
}

/* নিচের গ্রিড */
.profile-details-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* বাম দিকের কার্ড */
.info-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

/* বাম দিকের কার্ডের হেডার */
.info-card-title {
    font-size: 0.95rem !important;
    font-weight: 700;
    color: #1e3a8a !important;
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    padding: 0.6rem 0.75rem !important; /* ✅ প্যাডিং যোগ করা হলো */
    border-radius: 6px 6px 0 0 !important; /* ✅ উপরের কর্নার রাউন্ড */
    margin: -1rem -1rem 1rem -1rem !important; /* ✅ কার্ডের কিনারা পর্যন্ত টানা */
    border-bottom: 1px solid #dbeafe !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-card-title i {
    color: #1e40af;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
  font-size: 0.75rem !important; /* ✅ ০.৮ থেকে ০.৭৫ করা হলো */
    color: #4b5563;
    padding: 0.35rem 0;
    display: flex;
}

.info-list li span {
    font-weight: 600;
    color: #374151;
    width: 100px !important; /* ✅ লেখার জায়গা একটু ছোট করা হলো */
    flex-shrink: 0;
}

/* ডান দিকের কন্টেন্ট কার্ড */
.content-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.content-title {
    font-size: 1rem !important;
    font-weight: 700;
    color: #1e3a8a !important;
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    padding: 0.6rem 0.85rem !important;
    border-radius: 6px 6px 0 0 !important;
    margin: -1.25rem -1.25rem 1rem -1.25rem !important; /* ✅ কার্ডের কিনারা পর্যন্ত টানা */
    border-bottom: 1px solid #dbeafe !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* আইকনের রঙ ঠিক করা */
.info-card-title i,
.content-title i {
    color: #1e40af !important;
    background: transparent !important;
    padding: 0 !important;
}

.rich-content {
    font-size: 0.8rem !important; /* ✅ ০.৮৫ থেকে ০.৮ করা হলো */
    color: #374151;
    line-height: 1.6;
}

.rich-content ul {
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.rich-content ul li {
    margin-bottom: 0.2rem;
}

.rich-content p {
    margin-bottom: 0.75rem;
}

/* ডিজাইন ঠিক করার জন্য ছোট অ্যাডজাস্টমেন্ট */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    background: #1e3a8a;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 1rem;
}

.btn-back:hover {
    background: #1e40af;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 992px) {
    .profile-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-contact-grid {
        justify-content: center;
    }
    .profile-quote-box {
        width: 100%;
        text-align: center;
    }
    .profile-quote-box span {
        text-align: center;
    }
    .profile-details-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   About পেজ (প্রতিষ্ঠানের ইতিহাস) — Full Fresh
   ============================================ */
.about-page-section {
    padding: 3rem 40px !important;
    background-color: #f7fafa;
}

.section-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.2rem !important;
    padding: 0.6rem 0.85rem !important; /* ✅ প্যাডিং যোগ করা হলো */
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    border-radius: 6px !important; /* ✅ রাউন্ড কর্নার */
    border: 1px solid #dbeafe !important; /* ✅ হালকা নীল বর্ডার */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-heading i {
    color: #1e40af;
}

/* উপরের অংশ: ছবি ও ইতিহাস */
.about-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: stretch;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.about-top-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.about-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.rich-content {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    text-align: justify;
}

/* মাঝের অংশ: টাইমলাইন ও সাইডবার */
.about-middle-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start; /* ডান দিকের কোট বক্স উপরে থাকবে */
    margin-bottom: 2.5rem;
}
/* ============================================
   নতুন টাইমলাইন ডিজাইন (HTML Template অনুযায়ী)
   ============================================ */

/* ============================================
   নতুন টাইমলাইন ডিজাইন (ছোট সাইজ)
   ============================================ */

/* বাইরের কার্ড */
.history-card {
    width: 100%;
    padding: 16px 14px 18px 16px !important;
    background: #ffffff !important; /* ✅ কার্ডের ব্যাকগ্রাউন্ড সাদা */
    border: 1px solid #e1e8f5;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(30, 60, 120, .06);
}

/* হেডার */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px !important;
    margin-bottom: 16px !important;
}
.card-header .h-icon {
    width: 28px !important; /* আইকন ছোট */
    height: 28px !important;
    border-radius: 6px !important;
    background: #1f4aa0;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px !important; /* আইকন ফন্ট ছোট */
}
.card-header h2 {
    font-size: 17px !important; /* টাইটেল ফন্ট ছোট */
    font-weight: 700;
    color: #123a85;
    margin: 0 !important;
}

/* টাইমলাইন লাইন */
.timeline {
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 6px !important; /* লাইন বামে সরানো */
    top: 8px !important;
    bottom: 8px !important;
    width: 2px;
    background: #d3ddf0;
}

/* টাইমলাইন আইটেম */
.item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px !important; /* গ্যাপ কমানো */
}
.item:last-child { margin-bottom: 0; }

/* লাইনের ডট */
.item::before {
    content: "";
    position: absolute;
    left: 0px !important;
    top: 50%;
    transform: translateY(-50%);
    width: 11px !important; /* ডট ছোট */
    height: 11px !important;
    border-radius: 50%;
    background: var(--main);
    box-shadow: 0 0 0 2px #f6f9fe !important;
    z-index: 2;
}

/* বাম পাশের পিল কলাম */
.badge-col {
    flex: 0 0 105px !important; /* কলামের চওড়া কম */
    padding-left: 20px !important;
}

/* পিল ডিজাইন */
.pill {
    display: inline-flex;
    align-items: center;
    height: 30px !important; /* পিলের উচ্চতা কম */
    padding-right: 12px !important;
    border-radius: 30px !important;
    background: linear-gradient(90deg, var(--main), var(--dark));
    box-shadow: 0 2px 6px var(--shadow) !important;
}
.icon {
    width: 32px !important; /* বৃত্ত ছোট */
    height: 32px !important;
    margin-left: -3px !important;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--light);
    border: 2px solid var(--main) !important;
    display: grid;
    place-items: center;
    color: var(--main);
    font-size: 12px !important; /* আইকন ছোট */
    box-shadow: 0 0 0 1px rgba(255,255,255,.6) !important;
}
.year {
    margin-left: 8px !important;
    color: #fff;
    font-size: 13px !important; /* বছরের ফন্ট ছোট */
    font-weight: 700;
    letter-spacing: .3px !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    white-space: nowrap;
}

/* ডান পাশের তথ্য কার্ড */
.content {
    flex: 1;
    padding: 8px 12px 9px !important; /* কার্ডের প্যাডিং কম */
    background: #edf2fb;
    border: 1px solid #e0e8f6;
    border-radius: 8px !important;
}
.content h3 {
    font-size: 14px !important; /* কার্ডের টাইটেল ছোট */
    font-weight: 700;
    color: #123a85;
    margin-bottom: 2px !important;
}
.content p {
    font-size: 12px !important; /* কার্ডের টেক্সট ছোট */
    line-height: 1.45 !important;
    color: #3d4a63;
    margin: 0;
}

/* রঙের থিম */
.navy   { --main:#1f4aa0; --dark:#0f2f78; --light:#dbe6fb; --shadow:rgba(31,74,160,.35); }
.green  { --main:#12a150; --dark:#0b7a3a; --light:#d7f3e2; --shadow:rgba(18,161,80,.35); }
.blue   { --main:#1e88e5; --dark:#1565c0; --light:#d9ecff; --shadow:rgba(30,136,229,.35); }
.purple { --main:#7b2cbf; --dark:#5a189a; --light:#eadcf8; --shadow:rgba(123,44,191,.35); }
.teal   { --main:#1fa89a; --dark:#117a6f; --light:#d6f3ef; --shadow:rgba(31,168,154,.35); }

/* মোবাইল রেসপন্সিভ */
@media (max-width: 480px) {
    .history-card { padding: 12px 10px 14px 12px !important; }
    .card-header h2 { font-size: 15px !important; }
    .badge-col { flex-basis: 90px !important; padding-left: 16px !important; }
    .year { font-size: 12px !important; margin-left: 6px !important; }
    .pill { padding-right: 8px !important; height: 26px !important; }
    .icon { width: 28px !important; height: 28px !important; font-size: 10px !important; }
    .content { padding: 6px 10px 7px !important; }
    .content h3 { font-size: 13px !important; }
    .content p { font-size: 11px !important; }
}
/* === ডান দিকের সাইডবার (কোট ও তথ্য) === */
.about-side-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-quote-box {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #1e40af;
}

.quote-icon {
    color: #93c5fd;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-quote-box p {
    font-size: 0.9rem;
    color: #1e3a8a;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.about-quote-box span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    display: block;
    text-align: right;
}

.about-facts-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.facts-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    padding: 0.6rem 0.85rem !important; /* ✅ প্যাডিং যোগ করা হলো */
    background: #eff6ff !important; /* ✅ হালকা নীল ব্যাকগ্রাউন্ড */
    border-radius: 6px 6px 0 0 !important; /* ✅ উপরের কর্নার রাউন্ড */
    margin: -1.5rem -1.5rem 1rem -1.5rem !important; /* ✅ কার্ডের কিনারা পর্যন্ত টানা */
    border-bottom: 1px solid #dbeafe !important; /* ✅ হালকা নীল বর্ডার */
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.facts-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.facts-list li {
    font-size: 0.85rem;
    color: #374151;
    padding: 0.4rem 0;
    display: flex;
    border-bottom: 1px dashed #e5e7eb;
}

.facts-list li span {
    font-weight: 600;
    color: #1e40af;
    width: 100px;
}

.btn-view-more {
    display: block;
    text-align: center;
    background: #1e3a8a;
    color: #fff;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-view-more:hover {
    background: #1e40af;
}

/* নিচের গ্যালারি */
.about-gallery-section {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

.gallery-thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.8);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3rem;
    text-align: center;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 992px) {
    .about-top-grid, .about-middle-grid {
        grid-template-columns: 1fr;
    }
    .about-top-image img {
        height: 250px;
    }
    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-content::before,
    .timeline-content::after {
        display: none; /* মোবাইলে তীর লুকানো হলো */
    }
}

/* ============================================
   অধ্যক্ষের বাণী পেজ
   ============================================ */
.principal-message-page {
    padding: 3rem 40px !important; /* ✅ পেজের দুই পাশে ৪০ পিক্সেল প্যাডিং */
    background: #f8fafc;
    min-height: 80vh;
}

/* বাইরের র‍্যাপার */
.principal-message-page .wrapper {
    max-width: 100% !important; /* ✅ পুরো প্রস্থ জুড়ে ছড়িয়ে দেবে */
    margin: 0 auto;
    padding: 0 !important;
    display: flex;
    gap: 14px;
    align-items: stretch;
    background: transparent !important;
    border-radius: 14px;
}

.principal-message-page .card {
    background: #fff;
    border: 1px solid #e4ebf7;
    border-radius: 7px !important; /* ✅ কর্নার ১২px থেকে কমিয়ে ৪px করা হলো */
    box-shadow: 0 1px 16px rgba(30, 60, 120, .07);
}

/* বাম কলাম */
.principal-message-page .left {
    flex: 0 0 300px !important; /* ✅ ২১৮px থেকে বাড়িয়ে ৩০০px করা হলো */
    width: 300px !important; /* ✅ ফিক্সড চওড়া */
    max-width: 300px !important;
    padding: 16px 14px 18px;
    box-sizing: border-box;
}

.principal-message-page .photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(160deg, #c9d6ee, #9fb3d9);
    display: grid;
    place-items: center;
}

.principal-message-page .photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.principal-message-page .name-box {
    margin: 15px 0 0 !important; /* ✅ উপরের গ্যাপ ১০px থেকে বাড়িয়ে ১৫px করা হলো */
    padding: 11px 8px 12px;
    text-align: center;
    background: linear-gradient(180deg, #1f4aa0, #123a85);
    color: #fff;
    border-radius: 4px !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 10px rgba(18, 58, 133, 0.2);
}

.principal-message-page .name-box h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.principal-message-page .name-box .role { font-size: 15px; font-weight: 600; margin-top: 1px; }
.principal-message-page .name-box .org  { font-size: 12.5px; margin-top: 4px; opacity: .95; }

.principal-message-page .quote-box {
    margin-top: 20px;
    padding: 14px 12px 12px;
    text-align: center;
    background: #e8f1fd;
    border: 1px solid #d6e5fa;
    border-radius: 8px;
}
.principal-message-page .quote-box .q-icon {
    display: block;
    text-align: left;
    color: #1f4aa0;
    font-size: 20px;
    margin-bottom: 4px;
}
.principal-message-page .quote-box p {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.6;
    color: #123a85;
    margin: 0;
}
.principal-message-page .quote-box .divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #4b8fe6;
    font-size: 11px;
}
.principal-message-page .quote-box .divider::before,
.principal-message-page .quote-box .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #b9d3f5;
}

/* ডান কলাম */
.principal-message-page .right {
    flex: 1;
    padding: 18px 24px 18px;
    display: flex;
    flex-direction: column;
}

.principal-message-page .greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    color: #123a85;
    margin-bottom: 14px;
}
.principal-message-page .greeting i { color: #1f6fd6; font-size: 20px; }

.principal-message-page .salam { font-size: 15px; margin-bottom: 10px; }

.principal-message-page .body-content {
    font-size: 14.5px;
    line-height: 1.75;
    text-align: justify;
    color: #2d3a55;
    margin-bottom: 14px;
}
.principal-message-page .body-content p { margin-bottom: 10px; }

.principal-message-page .thanks { font-size: 14.5px; margin: 4px 0 18px; }

.principal-message-page .bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.principal-message-page .date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #e8f1fd;
    border-radius: 6px;
    font-size: 12.5px;
    color: #123a85;
    white-space: nowrap;
}
.principal-message-page .date i { color: #1f4aa0; }

.principal-message-page .sign { text-align: center !important; width: 100%; }
.principal-message-page .sign .wish { font-size: 13.5px; margin-bottom: 2px; }
.principal-message-page .sign .signature {
    font-family: 'Dancing Script', cursive;
    font-size: 30px;
    line-height: 1.1;
    color: #1b2a55;
    transform: rotate(-4deg);
    transform-origin: center bottom !important; /* ✅ ঘোরার কেন্দ্রবিন্দু সেন্টারে আনা হলো */
    margin: 2px auto 4px !important; /* ✅ মাঝখানে রাখার জন্য */
    display: block; /* ✅ ব্লক এলিমেন্ট */
}
.principal-message-page .sign .s-name { font-size: 14.5px; font-weight: 700; color: #123a85; }
.principal-message-page .sign .s-role { font-size: 13px; line-height: 1.35; }

/* মোবাইল রেসপন্সিভ */
@media (max-width: 720px) {
.principal-message-page .wrapper {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
    display: flex;
    gap: 14px;
    align-items: stretch;
    background: transparent !important;
    border-radius: 7px !important; /* ✅ বাইরের কর্নারও কমিয়ে ৪px */
}
}

/* ============================================
   গ্যালারি পেজ
   ============================================ */
.gallery-page {
    padding: 2rem 40px !important;
    background: #f8fafc !important;
    min-height: 80vh;
}

.gallery-page .wrapper {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 22px 22px 28px !important;
    background: #ffffff !important;
    border: 1px solid #e1e8f5 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(30, 60, 120, .06) !important;
}

/* হেডার */
.gallery-page .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.gallery-page .h-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: #1f4aa0;
    color: #fff;
    display: grid; place-items: center;
    font-size: 16px;
}
.gallery-page .card-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #123a85;
    margin: 0;
}
.gallery-page .total {
    margin-left: auto;
    padding: 4px 14px;
    border-radius: 20px;
    background: #e9eef8;
    color: #3d4a63;
    font-size: 13px;
    font-weight: 600;
}

/* ক্যাটাগরি চিপস */
.gallery-page .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.gallery-page .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 0;
    border-radius: 40px;
    background: #eef2fa;
    color: #123a85;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(30,60,120,.07);
    transition: .15s;
}
.gallery-page .chip:hover { background: #e1e9f8; }
.gallery-page .chip.active {
    background: linear-gradient(90deg,#1f4aa0,#123a85);
    color: #fff;
    box-shadow: 0 5px 14px rgba(31,74,160,.35);
}

/* গ্রিড */
.gallery-page .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ফটো কার্ড */
.gallery-page .photo {
    position: relative;
    padding: 0;
    border: 1px solid #e3eaf6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-align: left;
    box-shadow: 0 3px 12px rgba(30,60,120,.07);
    transition: transform .2s, box-shadow .2s;
}
.gallery-page .photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(30,60,120,.16);
}
.gallery-page .thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8eef9;
    display: grid;
    place-items: center;
}
.gallery-page .thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.gallery-page .photo:hover .thumb img { transform: scale(1.06); }
.gallery-page .zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(18,58,133,.85);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    opacity: 0;
    transition: .2s;
}
.gallery-page .photo:hover .zoom { opacity: 1; }
.gallery-page .cap {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #123a85;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gallery-page .cap small {
    margin-left: auto;
    font-weight: 500;
    color: #6b7a99;
}
.gallery-page .empty {
    text-align: center;
    padding: 50px 10px;
    color: #6b7a99;
}
.gallery-page .empty i { display: block; font-size: 36px; margin-bottom: 8px; color: #b6c6e4; }

/* মোবাইল রেসপন্সিভ */
@media (max-width: 1000px) {
    .gallery-page .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .gallery-page .wrapper { padding: 18px 16px 22px !important; }
    .gallery-page .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .gallery-page .grid { grid-template-columns: 1fr; }
    .gallery-page .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .gallery-page .chip { flex: none; }
    .gallery-page .cap small { display: none; }
}

/* ============================================
   যোগাযোগ (Contact) পেজ
   ============================================ */
.contact-page {
    padding: 2rem 40px !important;
    background: #f5f8fc;
    min-height: 80vh;
}

.contact-page .wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.55fr 1.25fr;
    gap: 14px;
    align-items: stretch;
}

.contact-page .card {
    background: #ffffff;
    border: 1px solid #dfe6f0;
    border-radius: 12px;
    padding: 14px;
}

/* তথ্য কলাম */
.contact-page .info {
    background: #e8f2fe;
    border-color: #d6e6fb;
    padding: 14px 14px 10px;
}
.contact-page .info h2 {
    font-size: 24px;
    color: #0f2a52;
    font-weight: 700;
    margin-bottom: 14px;
}
.contact-page .item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.contact-page .ico {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    background: #0b5ac2;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
}
.contact-page .item h3 {
    font-size: 17px;
    color: #0f2a52;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}
.contact-page .item p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #2b3a55;
    margin: 0;
}
.contact-page .item small {
    font-size: 12.5px;
    color: #5d6b82;
}

/* ফর্ম কলাম */
.contact-page .form-card {
    padding: 14px 14px 16px;
}
.contact-page .form-card h2 {
    font-size: 24px;
    color: #0f2a52;
    font-weight: 700;
    margin: 0;
}
.contact-page .form-card .sub {
    font-size: 14px;
    margin: 4px 0 14px;
    color: #2b3a55;
}
.contact-page .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.contact-page .field {
    position: relative;
    margin-bottom: 12px;
}
.contact-page .lead-icon {
    position: absolute;
    left: 13px;
    top: 15px;
    width: 17px;
    height: 17px;
    color: #3b4a66;
    pointer-events: none;
}
.contact-page .field input,
.contact-page .field select,
.contact-page .field textarea {
    width: 100%;
    font: inherit;
    font-size: 14px;
    color: #0f2a52;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
    background: #fff;
    padding: 12px 12px 12px 40px;
    outline: none;
    transition: border .15s, box-shadow .15s;
}
.contact-page .field textarea {
    height: 110px;
    resize: vertical;
    padding-top: 13px;
}
.contact-page .field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    cursor: pointer;
}
.contact-page .field .chev {
    position: absolute;
    right: 14px;
    top: 17px;
    width: 14px;
    height: 14px;
    color: #3b4a66;
    pointer-events: none;
}
.contact-page .field input::placeholder,
.contact-page .field textarea::placeholder {
    color: #6b7a93;
}
.contact-page .field input:focus,
.contact-page .field select:focus,
.contact-page .field textarea:focus {
    border-color: #0b5ac2;
    box-shadow: 0 0 0 3px rgba(11,90,194,.12);
}
.contact-page .req {
    color: #e03e3e;
}
.contact-page .btn {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    font-size: 16px;
    background: #0b5ac2;
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .15s, transform .05s;
}
.contact-page .btn:hover { background: #08489f; }
.contact-page .btn:active { transform: translateY(1px); }
.contact-page .notice {
    display: none;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #e7f7ec;
    color: #176b3a;
    font-size: 14px;
    border: 1px solid #bfe8cd;
}

/* ম্যাপ কলাম */
.contact-page .loc {
    padding: 6px;
    display: flex;
    flex-direction: column;
}
.contact-page .photo {
    height: 152px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: #8cc6ee;
}
.contact-page .loc h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f2a52;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 10px 10px;
    margin: 0;
}
.contact-page .loc h3 i {
    color: #0b5ac2;
}
.contact-page .map {
    flex: 1;
    min-height: 190px;
    margin: 0 6px 6px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dfe6f0;
}
.contact-page .map iframe {
    width: 100%;
    height: 100%;
    min-height: 190px;
    border: 0;
    display: block;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 1020px) {
    .contact-page .wrap { grid-template-columns: 1fr 1fr; }
    .contact-page .loc { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .contact-page { padding: 1rem 16px !important; }
    .contact-page .wrap { grid-template-columns: 1fr; }
    .contact-page .row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   একাডেমিক পরিষদ পেজ
   ============================================ */
.council {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 48px;
}

/* শিরোনাম */
.council-title {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}
.council-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    padding: 7px 22px;
    font-size: 18px;
    font-weight: 600;
    color: #0a2540;
    box-shadow: 0 2px 8px rgba(10, 37, 64, .06);
}
.council-title i {
    width: 22px; height: 22px;
    background: #1d6fd8;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}

/* সভাপতি কার্ড */
.chair {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e6f0fb 0%, #f5f9fe 60%, #e9f2fc 100%);
    border: 1px solid #cfe0f3;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 18px;
    align-items: center;
}
.chair-photo {
    width: 150px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #fff;
    background: #cfdcec;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
.chair-info { flex: 1; min-width: 0; }
.badge {
    display: inline-block;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 14px;
    border-radius: 14px;
    margin: 6px 0 8px;
}
.chair-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0a2540;
    line-height: 1.35;
    margin: 0;
}
.chair-info .role { font-size: 14px; font-weight: 500; color: #374151; margin: 0; }
.chair-info .inst { font-size: 13px; color: #6b7280; margin: 0; }

.chair-contact {
    border-left: 1px solid #c3d5ea;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #0a2540;
}
.chair-contact div { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.chair-contact i {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* সংযোগ রেখা + সদস্য সারি */
.tree-stem {
    width: 2px;
    height: 26px;
    background: #9db8d6;
    margin: 0 auto;
}
.members {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-top: 22px;
}
.members::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #9db8d6;
}
.member {
    position: relative;
    padding: 0 7px;
}
.member::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    width: 2px;
    height: 22px;
    background: #9db8d6;
    transform: translateX(-1px);
}

.member-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 10px;
    padding: 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(10, 37, 64, .07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.member-head {
    background: #dcebfa;
    border-bottom: 1px solid #c9dcf1;
    padding: 10px 8px 9px;
}
.member-head h4 { font-size: 14px; font-weight: 600; color: #0a2540; margin: 0 0 5px; line-height: 1.35; }
.member-head .role-badge {
    background: #fff;
    color: #1e40af;
    margin: 0;
}
.member-photo {
    width: 96px;
    height: 96px;
    margin: 12px auto 8px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #cfe0f3;
    background: #cfdcec;
    position: relative;
}
.role-badge {
    display: inline-block;
    align-self: center;
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    font-weight: 500;
    padding: 1px 12px;
    border-radius: 10px;
}
.member-card .desig { font-size: 12px; color: #6b7280; margin-bottom: 8px; padding: 0 5px; }

.contact-rows {
    margin: auto 0 0;
    background: #eaf2fb;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #0a2540;
    text-align: center;
}
.contact-rows div { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-rows i { color: #1d4ed8; font-size: 11px; width: 12px; text-align: center; flex-shrink: 0; }

.photo-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end; justify-content: center;
    color: #8aa3c0;
    font-size: 54px;
    z-index: 0;
}
.chair-photo .photo-fallback { font-size: 90px; }
.chair-photo img, .member-photo img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 900px) {
    .tree-stem, .members::before, .member::before { display: none; }
    .members {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 14px;
        padding-top: 20px;
    }
}
@media (max-width: 640px) {
    .chair { flex-direction: column; text-align: center; }
    .chair-contact { border-left: none; border-top: 1px solid #c3d5ea; padding: 12px 0 0; width: 100%; align-items: center; }
    .members { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .members { grid-template-columns: 1fr; }
}
/* কর্মচারী পেজে লাইন থাকবে না */
.members.no-lines::before,
.members.no-lines .member::before {
    display: none !important;
}
.members.no-lines {
    padding-top: 0 !important; /* ✅ উপরের বাড়তি গ্যাপ সরানো হলো */
}


/* ============================================
   পেজিনেশন স্টাইল (কৃতী শিক্ষার্থী পেজ)
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem;
    list-style: none;
}

.pagination li a,
.pagination li span {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #374151;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.pagination li.active span {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
}

.pagination li a:hover {
    background: #f3f4f6;
    color: #1e40af;
}

/* ============================================
   শিক্ষার্থী সংখ্যা পেজ (কমপ্যাক্ট ডিজাইন)
   ============================================ */
.student-count-page {
    padding: 1.5rem 50px !important; 
    background: #ffffff;
    max-width: 1150px !important; /* চওড়া একটু বাড়ানো হলো */
    margin: 0 auto !important;
}
.sc-title {
    text-align: center;
    font-size: 1.3rem !important; 
    font-weight: 700;
    color: #1e3a8a !important;
    background: #ffffff !important; 
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px !important;
    display: inline-block !important;
    border: 1px solid #dbeafe !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    margin: 0;
}

/* হেডার */
.sc-title-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px !important;
}
.sc-header-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dbe5f0;
    border-radius: 8px;
    padding: 6px 16px !important; /* প্যাডিং বাড়ানো */
    box-shadow: 0 2px 8px rgba(10, 37, 64, .06);
}
.sc-header-card i {
    width: 20px !important; /* আইকন বড় */
    height: 20px !important;
    background: #1d6fd8;
    color: #fff;
    border-radius: 5px;
    font-size: 11px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sc-header-card h2 {
    font-size: 16px !important; /* ফন্ট বড় */
    font-weight: 600;
    color: #0a2540;
    margin: 0;
}

/* সারসংক্ষেপ */
.sc-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px !important;
    margin-bottom: 16px !important; 
}
.sc-stat {
    display: flex;
    align-items: center;
    gap: 10px !important; 
    padding: 10px 16px !important; /* প্যাডিং বাড়ানো */
    background: #f8fbff;
    border: 1px solid #e1e9f5;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(20,60,130,.04);
}
.sc-ic {
    width: 36px !important; /* আইকন বড় */
    height: 36px !important;
    flex: none;
    border-radius: 50%;
    background: #0b4fb3;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px !important; 
}
.sc-stat small {
    display: block;
    font-size: 12px !important; /* লেখা বড় */
    font-weight: 600;
    line-height: 1.3;
    color: #4b5563;
}
.sc-stat strong {
    display: block;
    font-size: 18px !important; /* সংখ্যা বড় */
    font-weight: 700;
    color: #0b4fb3;
    line-height: 1.2;
}
/* ফিল্টার */
.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    position: relative;
}
.filter-field {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px !important;
    height: 38px !important; /* উচ্চতা বাড়ানো */
    padding: 0 12px !important;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(20,60,130,.04);
    transition: all 0.2s ease;
}
.filter-field i.fa-calendar-alt {
    color: #1d6fe0;
    font-size: 14px !important;
    margin-right: 8px;
}
.filter-field select {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Noto Sans Bengali', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500;
    color: #10244a;
    outline: none;
    cursor: pointer;
    appearance: none;
    padding-right: 20px;
}
.filter-field i.fa-chevron-down {
    color: #6b7280;
    font-size: 10px !important; 
    position: absolute;
    right: 12px;
    pointer-events: none;
}
.filters::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 850px;
    height: 1px;
    background-color: #e5e7eb;
}

/* গ্রিড */
.sc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px !important;
}
.sc-item {
    display: flex;
    align-items: center;
    gap: 10px !important;
    padding: 10px 14px !important;
    min-height: 65px !important; /* উচ্চতা বাড়ানো */
    background: #ffffff;
    border: 1px solid #e1e9f5;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(20,60,130,.04);
}
.sc-item-ic {
    width: 32px !important; /* আইকন বড় */
    height: 32px !important;
    flex: none;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px !important;
}
.sc-item h3 {
    font-size: 14px !important; /* লেখা বড় */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
    color: #10244a;
}
.sc-item p {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px !important; /* বিবরণ বড় */
    font-weight: 500;
    color: #2b3d63;
    line-height: 1.4;
    margin: 0;
}
.sc-item p i {
    font-size: 10px !important;
    color: #10244a;
}


/* রঙের ক্লাস */
.c-blue { background: #1d6fe0; }
.c-green { background: #16a34a; }
.c-purple { background: #8e24aa; }
.c-teal { background: #18a58a; }
.c-orange { background: #f57c14; }

/* মোবাইল রেসপন্সিভ */
@media (max-width: 1200px) {
    .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .sc-summary, .filters { grid-template-columns: 1fr; gap: 10px; }
    .sc-grid { grid-template-columns: 1fr; }
    .filter-field { max-width: 100% !important; }
}


/* ============================================
   ডাউনলোড পেজে হোভার ইফেক্ট বন্ধ করা
   ============================================ */
.notice-board-page .notice-row:hover {
    background: transparent !important; /* ✅ ব্যাকগ্রাউন্ড পরিবর্তন বন্ধ */
    padding-left: 0 !important; /* ✅ প্যাডিং শিফট বন্ধ */
    padding-right: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.notice-board-page .notice-row:hover .notice-title {
    color: #374151 !important; /* ✅ লেখার রঙ পরিবর্তন বন্ধ */
}

/* ============================================
   অনার্স বিভাগ পেজ
   ============================================ */
/* ============================================
   ডিপার্টমেন্ট পেজের প্যাডিং ঠিক করা
   ============================================ */
.dept-page-wrapper {
    padding-bottom: 3rem !important; /* ✅ নিচে বাড়তি জায়গা */
}
.dept-page-wrapper .container {
    padding-bottom: 2rem !important;
}
/* রঙের ভ্যারিয়েন্ট */
.dept-card.c-blue    { --c: #1a73e8; --t: #e3eefe; border-bottom-color: #1a73e8; }
.dept-card.c-green   { --c: #2e9e5b; --t: #e0f4e8; border-bottom-color: #2e9e5b; }
.dept-card.c-orange  { --c: #f28c1e; --t: #fdeedb; border-bottom-color: #f28c1e; }
.dept-card.c-purple  { --c: #7c4dcc; --t: #ece4fa; border-bottom-color: #7c4dcc; }
.dept-card.c-red     { --c: #ef4b4b; --t: #fde3e3; border-bottom-color: #ef4b4b; }
.dept-card.c-teal    { --c: #12a6b8; --t: #d9f3f6; border-bottom-color: #12a6b8; }
.dept-card.c-amber   { --c: #f2a900; --t: #fdf0cc; border-bottom-color: #f2a900; }
.dept-card.c-violet  { --c: #7b5cf0; --t: #e8e2fd; border-bottom-color: #7b5cf0; }
.dept-card.c-pink    { --c: #e0388a; --t: #fbe0ee; border-bottom-color: #e0388a; }

.dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(20, 40, 90, .15);
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 1024px) {
    .dept-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 720px) {
    .dept-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .dept-header h1 { font-size: 24px !important; }
    .features .container { grid-template-columns: 1fr !important; gap: 14px; }
    .feature { border-right: 0 !important; justify-content: flex-start !important; }
}
@media (max-width: 480px) {
    .dept-grid { grid-template-columns: 1fr !important; }
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 768px) {
    .dept-page-wrapper {
        padding: 0 16px !important;
    }
}