/**
 * DIET Raigad - Ministry of Education Style Design
 * Based on education.gov.in design patterns
 * Clean, Official, Government Standard
 */

/* ============================================
   COLOR PALETTE - EDUCATION.GOV.IN STYLE
   ============================================ */
:root {
    /* Primary Colors - Government Blue */
    --primary-blue: #003d82;        /* Deep Government Blue */
    --primary-blue-light: #0052a3;  /* Lighter Blue */
    --primary-blue-dark: #002855;   /* Darker Blue */
    
    /* Accent Colors */
    --accent-orange: #ff6600;       /* Government Orange */
    --accent-green: #006400;        /* Success Green */
    
    /* Neutral Colors */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-lighter: #fafafa;
    
    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-medium: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    
    /* Border Colors */
    --border-light: #e0e0e0;
    --border-medium: #cccccc;
    
    /* Shadows - Minimal */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 4px;
}

/* ============================================
   TYPOGRAPHY - EK MUKTA (MANDATORY EVERYWHERE)
   ============================================ */
*,
*::before,
*::after {
    font-family: 'Ek Mukta', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    box-sizing: border-box;
}

html,
body,
div,
span,
p,
a,
button,
input,
select,
textarea,
label,
table,
th,
td,
li,
ul,
ol,
h1, h2, h3, h4, h5, h6,
.navbar,
.nav-link,
.dropdown-item,
.btn,
.card,
.card-title,
.card-text,
.form-control,
.form-select,
.form-label,
.breadcrumb,
.breadcrumb-item,
.alert,
.pagination,
.page-link,
footer,
footer * {
    font-family: 'Ek Mukta', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body {
    font-family: 'Ek Mukta', system-ui, sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ek Mukta', system-ui, sans-serif !important;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
}

h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
    line-height: 1.7;
}

a {
    color: #003d82;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: #0052a3;
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #003d82;
    outline-offset: 2px;
}

/* ============================================
   TOP BAR - GOVERNMENT STYLE
   ============================================ */
.top-bar {
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-light);
    padding: var(--spacing-sm) 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.government-emblem {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.government-emblem img,
.emblem-svg {
    height: 45px;
    width: auto;
}

.top-bar .fw-bold {
    color: #003d82 !important;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.top-bar .small {
    color: var(--text-medium);
    font-size: 13px;
}

.top-bar .form-control {
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    max-width: 250px;
}

.top-bar .form-control:focus {
    border-color: #003d82 !important;
    outline: 2px solid #003d82 !important;
    outline-offset: 0;
}

.top-bar .btn {
    padding: 0.5rem 0.75rem;
    font-size: 14px;
}

/* ============================================
   NAVIGATION - ULTRA PROFESSIONAL MINISTRY STYLE
   ============================================ */
.navbar,
.navbar.bg-primary {
    background: #003d82 !important;
    background-color: #003d82 !important;
    padding: 0;
    border-bottom: 3px solid #ff6600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 48px;
    max-height: 50px;
    overflow: visible; /* allow dropdown to flow outside */
}

.navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 0;
}

.navbar .container {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link:link,
.navbar-nav .nav-link:visited,
.navbar-nav .nav-link:active {
    color: #ffffff !important;
    font-family: 'Ek Mukta', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    letter-spacing: 0.2px;
    padding: 0.65rem 1.2rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
    text-decoration: none;
    position: relative;
    text-transform: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.3;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6600;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(0);
}

.navbar-nav .nav-link:hover::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover::after {
    opacity: 1;
}

.navbar-nav .nav-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: -2px;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
    background: #ff6600;
}

.navbar-nav .nav-link.active::after {
    opacity: 1;
}

/* Dropdown Toggle Arrow - Professional */
.navbar-nav .dropdown-toggle {
    position: relative;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    border-top: 0.4em solid #ffffff !important;
    border-right: 0.4em solid transparent;
    border-bottom: 0;
    border-left: 0.4em solid transparent;
    transition: transform 0.3s ease;
    vertical-align: 0.15em;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Professional Dropdown Menu - Education.gov.in Style */
.navbar .dropdown-menu {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.35rem !important;
    min-width: 260px;
    font-family: 'Ek Mukta', sans-serif !important;
    z-index: 1050;
}

.navbar .dropdown-item {
    padding: 0.7rem 1.3rem !important;
    color: #000000 !important;
    border-radius: 0 !important;
    transition: all 0.2s ease;
    font-family: 'Ek Mukta', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14.5px !important;
    border-left: 3px solid transparent;
    position: relative;
    display: block;
    text-decoration: none;
    line-height: 1.4;
}

.navbar .dropdown-item:link,
.navbar .dropdown-item:visited {
    color: #000000 !important;
    background-color: #ffffff !important;
}

.navbar .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #003d82;
    transform: scaleY(0);
    transition: transform 0.2s ease;
    z-index: 1;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    color: #003d82 !important;
    padding-left: 1.75rem !important;
    outline: none;
    font-weight: 600 !important;
    text-decoration: none;
}

.navbar .dropdown-item:hover::before,
.navbar .dropdown-item:focus::before,
.navbar .dropdown-item:active::before {
    transform: scaleY(1);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: #e8f0f8 !important;
    background-color: #e8f0f8 !important;
    color: #003d82 !important;
    border-left-color: #003d82;
}

/* ============================================
   DROPDOWN HOVER (DESKTOP)
   ============================================ */
@media (min-width: 992px) {
    .navbar .dropdown {
        position: relative;
    }

    .navbar .dropdown-menu {
        top: 100%;
        left: 0;
        margin-top: 0.2rem !important;
    }
    
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .navbar .dropdown:hover > .nav-link,
    .navbar .dropdown:hover > .nav-link.dropdown-toggle {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }
    
    .navbar .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.15s ease;
    }
}

/* Navbar Toggler - Professional */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   CARDS - MINISTRY STYLE
   ============================================ */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--bg-white);
    transition: 0.2s ease;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.card-header {
    background: #003d82 !important;
    background-color: #003d82 !important;
    color: white !important;
    border-bottom: none;
    padding: var(--spacing-md);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    color: #003d82 !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.card-text {
    color: var(--text-medium);
    line-height: 1.7;
}

.card-img-top {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-light);
}

/* ============================================
   BUTTONS - MINISTRY STYLE
   ============================================ */
.btn,
button,
input[type="button"],
input[type="submit"] {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Ek Mukta', sans-serif !important;
    transition: 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:focus {
    outline: 3px solid #003d82;
    outline-offset: 2px;
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled) {
    background: #003d82 !important;
    background-color: #003d82 !important;
    color: white !important;
    border-color: #003d82 !important;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):hover {
    background: #0052a3 !important;
    background-color: #0052a3 !important;
    border-color: #0052a3 !important;
    color: white !important;
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: #003d82 !important;
    border-color: #003d82 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):hover {
    background: #003d82 !important;
    background-color: #003d82 !important;
    color: white !important;
    border-color: #003d82 !important;
    text-decoration: none;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--border-medium);
}

.btn-secondary:hover {
    background: var(--border-light);
    border-color: var(--border-medium);
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ============================================
   FORMS - MINISTRY STYLE
   ============================================ */
.form-label,
label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    display: block;
    font-family: 'Ek Mukta', sans-serif !important;
}

.form-control,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Ek Mukta', sans-serif !important;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #003d82 !important;
    outline: 3px solid #003d82 !important;
    outline-offset: 0;
    background: var(--bg-white);
}

/* ============================================
   TABLES - MINISTRY STYLE
   ============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
    background: var(--bg-white);
}

.table thead {
    background: #003d82 !important;
    background-color: #003d82 !important;
    color: white !important;
}

.table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #002855;
    color: white !important;
}

.table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-medium);
}

.table tbody tr:hover {
    background: var(--bg-light);
}

.table-responsive {
    overflow-x: auto;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--bg-light);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-item a {
    color: #003d82 !important;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    outline: none;
}

.breadcrumb-item.active {
    color: var(--text-medium);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 var(--spacing-sm);
    color: var(--text-muted);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid;
    margin-bottom: var(--spacing-lg);
}

.alert-info {
    background: #e7f3ff;
    border-color: #003d82 !important;
    color: #004085;
}

.alert-success {
    background: #d4edda;
    border-color: var(--accent-green);
    color: #155724;
}

.alert-warning {
    background: #fff3cd;
    border-color: var(--accent-orange);
    color: #856404;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    gap: var(--spacing-xs);
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: #003d82 !important;
    text-decoration: none;
    background: var(--bg-white);
    transition: 0.2s ease;
}

.page-link:hover {
    background: var(--bg-light);
    border-color: #003d82 !important;
    color: #003d82 !important;
    text-decoration: none;
}

.page-link:focus {
    outline: 3px solid #003d82 !important;
    outline-offset: 0;
}

.page-item.active .page-link {
    background: #003d82 !important;
    background-color: #003d82 !important;
    color: white !important;
    border-color: #003d82 !important;
}

/* ============================================
   GALLERY STYLES
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #d0d7e2;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 61, 130, 0.65) 100%);
    color: #ffffff;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Lightbox tweaks */
.lightbox {
    backdrop-filter: blur(2px);
}

/* Lock scroll when lightbox open */
.lock-scroll {
    overflow: hidden;
}

/* Gallery image ratio helper */
.gallery-item img {
    aspect-ratio: 4 / 3;
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 150px;
    }
}

/* ============================================
   FOOTER - MINISTRY STYLE
   ============================================ */
footer {
    background: #002855 !important;
    background-color: #002855 !important;
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 3px solid #ff6600;
}

footer h5 {
    color: #ff6600 !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: var(--spacing-sm);
}

footer p,
footer li,
footer .text-light,
footer small {
    color: #ffffff !important;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

footer a,
footer a.text-light {
    color: #ffffff !important;
    text-decoration: underline;
}

footer a:hover {
    color: #ff6600 !important;
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}

footer .footer-bottom,
footer .bg-secondary {
    border-top: 2px solid rgba(255, 102, 0, 0.3);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    text-align: center;
    color: #ffffff !important;
    background: linear-gradient(135deg, #001a3d 0%, #002855 50%, #001a3d 100%) !important;
    background-color: #001a3d !important;
    font-size: 0.9rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2) inset;
}

footer .bg-secondary small,
footer .bg-secondary a {
    color: #ffffff !important;
}

/* Footer Credit Section - Professional Alignment */
.footer-credit-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-credit-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.5;
}

.footer-credit-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 400;
}

.footer-credit-logo {
    max-height: 40px;
    max-width: 180px;
    height: auto;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-credit-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credit-logo-link:hover {
    opacity: 0.8;
}

.footer-credit-logo-link:hover .footer-credit-logo {
    opacity: 0.9;
}

.footer-credit-name {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-credit-name:hover {
    color: #ff6600 !important;
    text-decoration: underline;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(255, 102, 0, 0.3);
}

/* Responsive Footer Credit */
@media (max-width: 576px) {
    .footer-credit-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-credit-logo {
        max-height: 30px;
        max-width: 120px;
    }
    
    .footer-credit-text,
    .footer-credit-name {
        font-size: 0.85rem;
    }
}

/* ============================================
   NOTICE BOARD STYLE
   ============================================ */
.notice-board {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.notice-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    transition: 0.2s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background: var(--bg-light);
}

.notice-date {
    color: #003d82 !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.notice-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.notice-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.notice-title a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ============================================
   ICON GRID - SERVICES
   ============================================ */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.icon-grid-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.icon-grid-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}

.icon-grid-item i {
    font-size: 2.5rem;
    color: #003d82 !important;
    margin-bottom: var(--spacing-md);
    display: block;
}

.icon-grid-item h6 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        font-family: 'Ek Mukta', sans-serif !important;
        font-size: 14.5px !important;
    }
    
    .navbar-nav .nav-link::before {
        height: 2px;
        bottom: 0;
    }
    
    .navbar .dropdown-menu {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        background: #ffffff !important;
        background-color: #ffffff !important;
    }
    
    .navbar .dropdown-item {
        padding: 0.7rem 1.1rem !important;
        color: #333333 !important;
        background: transparent !important;
        font-size: 14.5px !important;
    }
    
    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: #f5f5f5 !important;
        background-color: #f5f5f5 !important;
        color: #003d82 !important;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .icon-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

/* Accessibility */
.high-contrast {
    background: #000000 !important;
    color: #ffffff !important;
}

.high-contrast a {
    color: #ffff00 !important;
}

.font-small { font-size: 14px !important; }
.font-large { font-size: 18px !important; }
.font-xlarge { font-size: 20px !important; }
