/* ==========================================================================
   SOLAIMANLIPI BANGLA FONT CONFIGURATION (ALL BENGALI TEXT)
   ========================================================================== */
@import url('https://fonts.maateen.me/solaiman-lipi/font.css');

@font-face {
    font-family: 'SolaimanLipi';
    src: local('SolaimanLipi'),
         local('SolaimanLipi Normal'),
         url('https://cdn.jsdelivr.net/gh/atikul-islam-sajib/SolaimanLipi-Web-Font@master/SolaimanLipi.woff') format('woff'),
         url('https://fonts.maateen.me/solaiman-lipi/font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   DREAM CAREER IT - Educational Portal & Security Protected Stylesheet (v3.0)
   ========================================================================== */
:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #ccfbf1;
    --secondary: #151442;
    --secondary-light: #1e1b4b;
    --accent: #ea580c;
    --accent-hover: #c2410c;
    --gold: #f59e0b;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --success: #16a34a;
    --danger: #dc2626;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(21, 20, 66, 0.07);
    --shadow-lg: 0 14px 36px rgba(21, 20, 66, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Viewer Security: Disable text selection & copying outside form inputs */
body {
    font-family: 'Segoe UI', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

input, textarea, select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}

/* Protect all images from drag/download */
img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Anti-Screenshot Privacy Shield */
body.privacy-shield {
    filter: blur(28px) brightness(0.2) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Website Preloader */
#dcitPreloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1e1b4b 0%, #09091f 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#dcitPreloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring-wrap {
    position: relative;
    width: 126px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #38bdf8;
    border-right-color: #f59e0b;
    animation: loaderSpin 1.1s linear infinite;
}

.loader-ring-inner {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #ec4899;
    border-left-color: #10b981;
    animation: loaderSpinReverse 1.4s linear infinite;
}

.loader-logo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
    animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

.loader-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #fde68a, #38bdf8, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.loader-sub {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.loader-bar {
    width: 190px;
    height: 5px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0f766e, #38bdf8, #f59e0b);
    animation: loaderProgress 0.9s ease-out forwards;
    transform-origin: left;
}

@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderSpinReverse { to { transform: rotate(-360deg); } }
@keyframes loaderPulse { from { transform: scale(0.95); } to { transform: scale(1.04); } }
@keyframes loaderProgress { from { transform: scaleX(0.1); } to { transform: scaleX(1); } }

/* Security Toast Notification */
#dcitSecurityToast {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #dc2626;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    z-index: 99998;
    display: none;
    align-items: center;
    gap: 10px;
}

/* Top Bar (Mobile Responsive) */
.topbar {
    background: var(--secondary);
    color: #f8fafc;
    font-size: 0.87rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-contact span, .topbar-contact a {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-contact a:hover {
    color: var(--gold);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.topbar-social a {
    color: #fff;
    background: rgba(255,255,255,0.12);
    width: 29px;
    height: 29px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.topbar-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Notice Bar: Smooth Right-to-Left Scrolling Ticker */
.notice-bar {
    background: linear-gradient(90deg, #fffbeb, #ffedd5);
    border-bottom: 1px solid #fde68a;
    color: #9a3412;
    font-size: 0.93rem;
    padding: 8px 0;
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.notice-badge {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.notice-marquee {
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    position: relative;
}

.notice-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: dcitTicker 28s linear infinite;
    font-weight: 700;
}

.notice-marquee:hover span {
    animation-play-state: paused;
}

@keyframes dcitTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Educational Institute Menubar */
.site-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(21, 20, 66, 0.08);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 900;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.2);
}

.brand-text h1 {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.15;
}

.brand-text p {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}

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

.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 11px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.89rem;
    border-radius: 8px;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.main-nav > ul > li > a.apply-now-nav {
    background: linear-gradient(135deg, #ea580c, #d97706);
    color: #fff !important;
    padding: 9px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    margin-left: 4px;
}

.main-nav > ul > li > a.apply-now-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 245px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease;
    z-index: 1000;
}

.main-nav > ul > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 16px;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
}

.dropdown-menu li a:hover {
    background: #f0fdfa;
    color: var(--primary);
    padding-left: 22px;
}

/* Hero Section with Rich Spacing, Slogan & Animation */
.hero-section {
    background: linear-gradient(135deg, #151442 0%, #0f4c5c 55%, #0f766e 100%);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--gold);
    color: #fde68a;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-slogan {
    color: #5eead4;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.hero-content h2 {
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-content h2 span {
    color: #fde68a;
}

.hero-address {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--gold);
    padding: 14px 18px;
    border-radius: 10px;
    margin: 18px 0 26px;
    font-size: 1rem;
    color: #f1f5f9;
    backdrop-filter: blur(6px);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,118,110,0.3); }

.btn-accent { background: linear-gradient(135deg, #ea580c, #d97706); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(234,88,12,0.35); }

.btn-outline { background: transparent; border: 2px solid #5eead4; color: #5eead4; }
.btn-outline:hover { background: #5eead4; color: #151442; }

.btn-sm { padding: 8px 15px; font-size: 0.85rem; }

.hero-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.22);
    aspect-ratio: 16 / 10;
    background: #151442;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(21, 20, 66, 0.92));
    color: #fff;
    padding: 24px 18px 14px;
    font-size: 0.96rem;
    font-weight: 700;
}

/* Sections with Generous Padding & Margin */
.section {
    padding: 68px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 44px;
}

.section-header .sub-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 5px 15px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.15rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

/* Card & List View Toggle Toolbar */
.view-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.view-toggle-btns {
    display: inline-flex;
    gap: 8px;
}

.view-btn {
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-btn.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

/* Grids & List View Mode */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.list-view-mode {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.list-view-mode .card {
    flex-direction: row !important;
    align-items: center !important;
}

.list-view-mode .course-thumb {
    width: 260px !important;
    height: 180px !important;
    flex-shrink: 0 !important;
}

/* Animated Cards */
@keyframes fadeUpCard {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeUpCard 0.45s ease both;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: #99f6e4;
}

.course-thumb {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #151442;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .course-thumb img {
    transform: scale(1.06);
}

.course-fee-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.course-cert-badge {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(21, 20, 66, 0.88);
    color: #5eead4;
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.28rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.card-body .title-bn {
    font-size: 0.96rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 18px;
    flex: 1;
}

.card-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* Facilities & Stats */
.facility-card {
    background: #fff;
    padding: 30px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
}

.facility-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.why-choose-box {
    background: linear-gradient(135deg, #151442 0%, #1e293b 100%);
    color: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.why-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 22px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    color: #e2e8f0;
}

.why-list li i {
    color: #5eead4;
    margin-top: 4px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.stat-box {
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: #fff;
    padding: 26px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-box h3 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fde68a;
}

/* Popup Modal for Bio-Data, Certificate Verification, Routine & Admin Profiles */
.dcit-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(21, 20, 66, 0.78);
    backdrop-filter: blur(4px);
    z-index: 9500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.dcit-popup-backdrop.open {
    display: flex;
}

.dcit-popup-box {
    background: #fff;
    width: 100%;
    max-width: 820px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    border-top: 5px solid var(--primary);
    overflow: hidden;
    animation: fadeUpCard 0.28s ease;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.dcit-popup-head {
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dcit-popup-body {
    padding: 24px;
    overflow-y: auto;
}

/* Tables, Forms & Badges */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th, .data-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
}

.data-table th {
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.data-table tr:hover td { background: #f8fafc; }

.badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #e0f2fe; color: #075985; }

.form-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.alert {
    padding: 15px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.filter-bar {
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
}

.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 180px; }

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.syllabus-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 20px;
    box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: #cbd5e1;
    padding: 56px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--accent);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; }
.footer-links a:hover { color: #5eead4; transform: translateX(4px); }

.footer-bottom {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.88rem;
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    color: #cbd5e1; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--primary); color: #fff; }

/* ==========================================================================
   PRINT PROTECTION & LANDSCAPE LETTER CERTIFICATE-ONLY PRINT ENGINE
   ========================================================================== */
#authorizedCertPrintSheet {
    display: none;
}

@page {
    size: letter landscape;
    margin: 0;
}

@media print {
    /* If Ctrl+P is pressed or print is triggered WITHOUT secret code authorization, print NOTHING! */
    body:not(.allow-cert-print):not(.allow-result-print) * {
        display: none !important;
        visibility: hidden !important;
    }
    body:not(.allow-cert-print):not(.allow-result-print)::before {
        content: "🔒 প্রিন্ট লকঃ শুধুমাত্র স্টুডেন্ট গোপন কোড (Secret Code) যাচাইয়ের মাধ্যমে সার্টিফিকেট প্রিন্ট করা যাবে।";
        display: block !important;
        padding: 40px;
        font-size: 20px;
        font-weight: bold;
        color: #dc2626;
        text-align: center;
    }

    /* When Secret Code is verified (.allow-cert-print), print ONLY the Landscape Letter Certificate! */
    body.allow-cert-print > *:not(#authorizedCertPrintSheet) {
        display: none !important;
    }
    body.allow-cert-print #authorizedCertPrintSheet {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 11in;
        height: 8.5in;
        margin: 0;
        padding: 0.35in;
        background: #ffffff;
        page-break-after: avoid;
        page-break-inside: avoid;
    }
}

/* Responsive Mobile Adjustments */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-content h2 { font-size: 1.9rem; }
    .menu-toggle { display: block; }
    .main-nav { display: none; width: 100%; padding-top: 12px; }
    .main-nav.open { display: block; }
    .nav-wrapper { flex-wrap: wrap; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding-left: 16px; display: none;
    }
    .main-nav > ul > li:hover > .dropdown-menu { display: block; }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-contact { justify-content: center; font-size: 0.82rem; }
    .list-view-mode .card { flex-direction: column !important; }
    .list-view-mode .course-thumb { width: 100% !important; }
}


/* ==========================================================================
   V5.0 UPGRADES: RICH ANIMATIONS, UNBROKEN NAVBAR, MOBILE APP BAR,
   UP/DOWN SCROLL BUTTONS, PAGINATION & PREMIUM POPUP CARDS
   ========================================================================== */

/* Unbroken Single-Line Desktop Menubar */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    flex-wrap: nowrap;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.main-nav > ul > li > a {
    padding: 8px 10px;
    font-size: 0.86rem;
    white-space: nowrap;
}

/* Rich Animations for Home Page & Cards */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes pulseGlowBtn {
    0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.55); }
    70% { box-shadow: 0 0 0 14px rgba(234, 88, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

@keyframes shimmerText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.anim-float {
    animation: floatSlow 4.5s ease-in-out infinite;
}

.anim-pulse-btn {
    animation: pulseGlowBtn 2.2s infinite;
}

.gradient-anim-title {
    background: linear-gradient(270deg, #fde68a, #38bdf8, #5eead4, #f59e0b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 6s ease infinite;
}

.hero-orb-1, .hero-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: 0.25;
    pointer-events: none;
}
.hero-orb-1 {
    width: 280px; height: 280px; background: #38bdf8; top: -60px; left: -60px;
    animation: floatSlow 7s ease-in-out infinite;
}
.hero-orb-2 {
    width: 320px; height: 320px; background: #f59e0b; bottom: -80px; right: 10%;
    animation: floatSlow 9s ease-in-out infinite reverse;
}

/* Up-to-Down & Down-to-Up Floating Scroll Buttons */
.scroll-nav-float {
    position: fixed;
    right: 18px;
    bottom: 82px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9100;
}

.scroll-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: linear-gradient(135deg, #151442, #0f766e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(21, 20, 66, 0.35);
    transition: all 0.25s ease;
}

.scroll-nav-btn:hover {
    background: linear-gradient(135deg, #ea580c, #d97706);
    transform: scale(1.1);
}

/* Mobile App Bottom Navigation Bar (PWA Native App Feel) */
.mobile-app-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
    z-index: 9200;
    padding: 6px 8px;
    justify-content: space-around;
    align-items: center;
}

.mobile-app-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}

.mobile-app-bottom-nav a i {
    font-size: 1.15rem;
    color: #0f766e;
}

.mobile-app-bottom-nav a.app-cta {
    background: linear-gradient(135deg, #ea580c, #d97706);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
}

.mobile-app-bottom-nav a.app-cta i {
    color: #fff;
}

/* Awesome Toast Notification */
.awesome-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 300px;
    max-width: 440px;
    background: rgba(21, 20, 66, 0.96);
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    border-left: 6px solid #10b981;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeUpCard 0.3s ease;
    backdrop-filter: blur(10px);
}
.awesome-toast.error { border-left-color: #ef4444; }
.awesome-toast.warning { border-left-color: #f59e0b; }

/* Pagination Bar (< 1, 2, 3 ... 10 > & Page Size Selector) */
.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 24px;
    box-shadow: var(--shadow);
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #151442;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-btn.active, .page-btn:hover:not(:disabled) {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Seen / Unseen Badge */
.seen-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.seen-tag.seen { background: #dcfce7; color: #166534; }
.seen-tag.unseen { background: #fef3c7; color: #b45309; }

/* Premium QuickView Card Layout */
.qv-hero-banner {
    background: linear-gradient(135deg, #151442 0%, #0f766e 100%);
    color: #fff;
    padding: 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(21, 20, 66, 0.18);
}

.qv-hero-banner img {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #fde68a;
    background: #fff;
}

.qv-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.qv-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f766e;
    border-radius: 10px;
    padding: 12px 16px;
}

.qv-info-card small {
    display: block;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.qv-info-card strong {
    color: #0f172a;
    font-size: 0.95rem;
}

/* Upload Preview Box */
.upload-preview-box {
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f0fdfa;
    border: 1px dashed #0f766e;
    border-radius: 10px;
}
.upload-preview-box.active { display: flex; }
.upload-preview-box img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #0f766e;
}

@media (max-width: 1060px) {
    .menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
    .main-nav { display: none; width: 100%; padding-top: 12px; }
    .main-nav.open { display: block; }
    .nav-wrapper { flex-wrap: wrap; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .mobile-app-bottom-nav { display: flex; }
    body { padding-bottom: 65px; }
}


/* ==========================================================================
   SCOPED BOOTSTRAP 5 UTILITIES FOR ABOUT, MISSION, TERMS & LICENSE PAGES
   (Strictly scoped so zero existing styles are affected)
   ========================================================================== */
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .row {
    display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px;
}
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .row > * {
    padding-left: 12px; padding-right: 12px; width: 100%; max-width: 100%; box-sizing: border-box;
}
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .g-2 { row-gap: 0.5rem; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .g-3 { row-gap: 1rem; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .g-4 { row-gap: 1.5rem; }
@media (min-width: 576px) {
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-sm-6 { width: 50%; flex: 0 0 auto; }
}
@media (min-width: 768px) {
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-md-3 { width: 25%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-md-4 { width: 33.333333%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-md-6 { width: 50%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-md-9 { width: 75%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-md-end { text-align: right !important; }
}
@media (min-width: 992px) {
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-1 { width: 8.333333%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-3 { width: 25%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-4 { width: 33.333333%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-5 { width: 41.666667%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-6 { width: 50%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-7 { width: 58.333333%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-8 { width: 66.666667%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-11 { width: 91.666667%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-lg-12 { width: 100%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-lg-end { text-align: right !important; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-lg-start { text-align: left !important; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mt-lg-0 { margin-top: 0 !important; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mx-lg-0 { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (min-width: 1200px) {
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-xl-3 { width: 25%; flex: 0 0 auto; }
    :is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .col-xl-9 { width: 75%; flex: 0 0 auto; }
}
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .d-flex { display: flex !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .d-inline-flex { display: inline-flex !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .d-inline-block { display: inline-block !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .d-grid { display: grid !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .flex-wrap { flex-wrap: wrap !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .flex-column { flex-direction: column !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .flex-grow-1 { flex-grow: 1 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .flex-shrink-0 { flex-shrink: 0 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .align-items-center { align-items: center !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .align-items-start { align-items: flex-start !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .justify-content-center { justify-content: center !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .justify-content-between { justify-content: space-between !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .gap-2 { gap: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .gap-3 { gap: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .w-100 { width: 100% !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .h-100 { height: 100% !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-center { text-align: center !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-end { text-align: right !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-white { color: #ffffff !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-light { color: #f8fafc !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-dark { color: #0f172a !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-muted { color: #64748b !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-primary { color: #2563eb !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-success { color: #059669 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-warning { color: #d97706 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-danger { color: #dc2626 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-info { color: #0ea5e9 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .bg-light { background-color: #f8fafc !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .bg-dark { background-color: #0f172a !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .bg-primary { background-color: #2563eb !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .bg-primary-subtle { background-color: #dbeafe !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .bg-success-subtle { background-color: #d1fae5 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fw-bold { font-weight: 700 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fw-semibold { font-weight: 600 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fw-medium { font-weight: 500 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fst-italic { font-style: italic !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .small { font-size: 0.875rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fs-1 { font-size: 2.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fs-3 { font-size: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fs-4 { font-size: 1.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fs-5 { font-size: 1.1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .fs-6 { font-size: 0.95rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-0 { margin-bottom: 0 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-1 { margin-bottom: 0.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-2 { margin-bottom: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-3 { margin-bottom: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-4 { margin-bottom: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mb-5 { margin-bottom: 2.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mt-1 { margin-top: 0.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mt-3 { margin-top: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mt-4 { margin-top: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .me-1 { margin-right: 0.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .me-2 { margin-right: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .ms-1 { margin-left: 0.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .ms-auto { margin-left: auto !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .mx-auto { margin-left: auto !important; margin-right: auto !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .p-3 { padding: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .p-4 { padding: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .pt-3 { padding-top: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .pb-2 { padding-bottom: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .pb-3 { padding-bottom: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .ps-3 { padding-left: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .pe-3 { padding-right: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .rounded-3 { border-radius: 0.5rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .rounded-4 { border-radius: 1rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .rounded-pill { border-radius: 50rem !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .border { border: 1px solid #e2e8f0 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .border-top { border-top: 1px solid #e2e8f0 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .border-bottom { border-bottom: 1px solid #e2e8f0 !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .shadow-sm { box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .text-decoration-none { text-decoration: none !important; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .table { width: 100%; border-collapse: collapse; }
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .table th,
:is(.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper) .table td { padding: 12px 14px; border-bottom: 1px solid #e2e8f0; text-align: left; }


/* ==========================================================================
   SOLAIMANLIPI FONT ENFORCEMENT & CARD LAYOUT STABILITY (/ponytail-audit)
   ========================================================================== */
body, h1, h2, h3, h4, h5, h6, p, a, span:not(.fa):not([class*="fa-"]), li, td, th, label, button, input, select, textarea,
.about-wrapper, .legitimacy-wrapper, .objectives-wrapper, .terms-wrapper {
    font-family: 'SolaimanLipi', 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif !important;
}

/* Preserve Font Awesome 4 & 6 Icons */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, i[class*="fa-"] {
    font-family: FontAwesome, "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Prevent Grid & Card Horizontal/Vertical Breaking on All Screen Sizes */
.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.card {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    height: 100%;
}

.card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body > p,
.card-excerpt-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.65;
    margin-bottom: 16px;
}

.card-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
    min-height: 2.85em;
}

.card-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.card-body > .btn {
    margin-top: auto;
    justify-content: center;
}


/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE ENHANCEMENTS (v6.0)
   Preserves 100% of existing desktop design, colors & internal systems
   ========================================================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.table-responsive,
.data-table-wrap,
.dcp-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 960px) {
    .section {
        padding: 44px 0;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .hero-slider {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .topbar {
        padding: 6px 0;
    }
    .topbar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .topbar-contact {
        gap: 8px 12px;
        font-size: 0.78rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    .topbar-social {
        justify-content: center;
    }

    /* Header & Navbar */
    .nav-wrapper {
        padding: 8px 0;
        gap: 8px;
    }
    .brand-logo img {
        width: 44px;
        height: 44px;
    }
    .brand-text h1 {
        font-size: 1.08rem;
        line-height: 1.25;
    }
    .brand-text span {
        font-size: 0.72rem;
    }
    .menu-toggle {
        padding: 7px 12px;
        font-size: 0.86rem;
        border-radius: 8px;
    }
    .main-nav {
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        margin-top: 6px;
        padding: 10px 4px;
        border-radius: 0 0 12px 12px;
    }
    .main-nav > ul > li > a {
        padding: 10px 12px;
        font-size: 0.92rem;
        border-radius: 8px;
        white-space: normal;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Notice Bar & Welcome Banner */
    .notice-inner {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .notice-badge {
        font-size: 0.74rem;
        padding: 4px 10px;
        flex-shrink: 0;
    }
    .notice-marquee {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 28px 0 36px;
    }
    .hero-badge {
        font-size: 0.76rem;
        padding: 5px 12px;
    }
    .hero-content h2 {
        font-size: 1.55rem;
        line-height: 1.35;
    }
    .hero-slogan {
        font-size: 0.95rem;
    }
    .hero-address {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    .hero-actions {
        gap: 10px;
    }
    .hero-actions .btn {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.86rem;
    }
    .hero-slider {
        height: 230px;
        border-radius: 14px;
    }
    .hero-slide-caption {
        font-size: 0.84rem;
        padding: 10px 14px;
    }

    /* Stats Row */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: -16px;
    }
    .stat-box {
        padding: 16px 12px;
    }
    .stat-box h3 {
        font-size: 1.45rem;
    }
    .stat-box p {
        font-size: 0.8rem;
    }

    /* Section Headers & Cards */
    .section {
        padding: 36px 0;
    }
    .section-header {
        margin-bottom: 24px;
    }
    .section-header h2 {
        font-size: 1.42rem;
        line-height: 1.35;
    }
    .section-header p {
        font-size: 0.9rem;
    }
    .page-hero-strip {
        padding: 28px 14px !important;
    }
    .page-hero-strip h1 {
        font-size: 1.42rem !important;
        line-height: 1.35;
    }
    .page-hero-strip p {
        font-size: 0.88rem !important;
    }

    .grid-2, .grid-3, .grid-4 {
        gap: 16px;
    }
    .card-body {
        padding: 16px;
    }
    .card-footer {
        flex-wrap: wrap;
        gap: 8px;
    }
    .card-footer .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    /* Forms, Result Cards, Student Cards & Biodata */
    .form-card {
        padding: 18px 14px;
        border-radius: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .qv-hero-banner {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .qv-hero-banner img {
        width: 82px;
        height: 82px;
    }
    .qv-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Certificate Popup Mobile Layout */
    .cert-popup-outer {
        padding: 6px !important;
        border-width: 4px !important;
    }
    .cert-popup-inner {
        padding: 14px 12px !important;
    }
    .cert-popup-header {
        flex-direction: column !important;
        text-align: center !important;
    }
    .cert-popup-header > div {
        text-align: center !important;
        width: 100%;
    }
    .cert-popup-inner p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        text-align: left !important;
    }

    /* Modals & Pagination */
    .modal-backdrop {
        padding: 10px;
    }
    .modal-box {
        max-height: 92vh;
        border-radius: 12px;
    }
    .modal-head {
        padding: 12px 14px;
    }
    .modal-head h3 {
        font-size: 1rem;
    }
    .modal-body {
        padding: 14px;
    }
    .pagination-bar {
        justify-content: center;
        padding: 12px;
        gap: 10px;
    }
    .page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 0.82rem;
    }

    /* Toast & Floating Scroll Buttons */
    .awesome-toast {
        top: 12px;
        right: 12px;
        left: 12px;
        min-width: 0;
        max-width: none;
        padding: 12px 14px;
    }
    .scroll-nav-float {
        right: 10px;
        bottom: 74px;
    }
    .scroll-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Footer */
    .site-footer {
        padding: 36px 0 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding-top: 16px;
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.35rem;
    }
    .hero-actions .btn {
        flex: 1 1 100%;
    }
    .hero-slider {
        height: 200px;
    }
    .section-header h2 {
        font-size: 1.28rem;
    }
    .mobile-app-bottom-nav a {
        font-size: 0.66rem;
        padding: 4px 5px;
    }
    .mobile-app-bottom-nav a.app-cta {
        padding: 5px 10px;
    }
}


/* ==========================================================================
   ENHANCED ANTI-SCREENSHOT & MOBILE CALLOUT SHIELD (v6.2)
   ========================================================================== */
body, img, .card, .qv-hero-banner, .cert-popup-outer {
    -webkit-touch-callout: none !important;
}

body.privacy-shield > *:not(#dcitPrivacyOverlay):not(#dcitSecurityToast) {
    filter: blur(28px) brightness(0.15) !important;
    opacity: 0.08 !important;
    transition: none !important;
}

#dcitPrivacyOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(9, 9, 31, 0.94);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #fff;
}

body.privacy-shield #dcitPrivacyOverlay {
    display: flex !important;
}

.dcit-shield-box {
    max-width: 380px;
    background: rgba(21, 20, 66, 0.95);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.dcit-shield-box i {
    font-size: 2.6rem;
    color: #f59e0b;
    margin-bottom: 12px;
}

.dcit-shield-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fde68a;
}

.dcit-shield-box p {
    font-size: 0.92rem;
    color: #e2e8f0;
    margin: 0;
}

/* Subtle Dynamic Security Watermark Overlay (Non-Interactive) */
#dcitDynamicWatermark {
    position: fixed;
    inset: -20%;
    z-index: 9990;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 40px;
    align-content: space-around;
    justify-items: center;
    transform: rotate(-24deg);
    opacity: 0.045;
    overflow: hidden;
}

#dcitDynamicWatermark span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0f172a;
    white-space: nowrap;
}

/* Customer Result Sheet Print Styles */
#authorizedResultPrintSheet {
    display: none;
}

@media print {
    body.allow-result-print > *:not(#authorizedResultPrintSheet) {
        display: none !important;
    }
    body.allow-result-print {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    body.allow-result-print #authorizedResultPrintSheet {
        display: block !important;
        width: 100% !important;
        max-width: 820px !important;
        margin: 0 auto !important;
    }
    .dcit-result-print-card {
        border: 3px solid #151442;
        border-radius: 12px;
        padding: 24px;
        background: #ffffff;
        color: #0f172a;
    }
    .dcit-result-print-head {
        display: flex;
        align-items: center;
        gap: 16px;
        border-bottom: 2px solid #0f766e;
        padding-bottom: 14px;
        margin-bottom: 18px;
    }
    .dcit-result-print-head img {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        border: 2px solid #151442;
    }
    .dcit-result-print-head h2 {
        margin: 0 0 4px;
        color: #151442;
        font-size: 1.35rem;
    }
    .dcit-result-print-head p {
        margin: 0 0 6px;
        font-size: 0.84rem;
        color: #475569;
    }
    .dcit-result-print-head span {
        display: inline-block;
        background: #0f766e;
        color: #fff;
        padding: 3px 12px;
        border-radius: 14px;
        font-size: 0.74rem;
        font-weight: 700;
    }
    .dcit-result-print-student {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        padding: 14px;
        margin-bottom: 16px;
    }
    .dcit-result-print-student img {
        width: 74px;
        height: 74px;
        border-radius: 10px;
        object-fit: cover;
        border: 2px solid #0f766e;
    }
    .dcit-result-print-student h3 {
        margin: 0 0 4px;
        color: #151442;
    }
    .dcit-result-print-student p {
        margin: 2px 0;
        font-size: 0.88rem;
    }
    .dcit-result-print-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 18px;
    }
    .dcit-result-print-table th,
    .dcit-result-print-table td {
        border: 1px solid #cbd5e1;
        padding: 9px 12px;
        text-align: left;
        font-size: 0.88rem;
    }
    .dcit-result-print-table th {
        background: #f1f5f9;
        color: #151442;
        width: 18%;
    }
    .dcit-result-print-foot {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #64748b;
        border-top: 1px dashed #cbd5e1;
        padding-top: 10px;
    }
}
