/* Jeevika Education Consultancy - Main Stylesheet */
:root {
    --primary: #1b5e20;
    --primary-light: #2e7d32;
    --primary-dark: #0d3d12;
    --secondary: #e65100;
    --accent: #ffc107;
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #f57c00;
    --info: #0277bd;
    --dark: #212121;
    --gray: #757575;
    --light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
}

.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.logo-img-footer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.logo-name {
    font-weight: 700;
    font-size: 18px;
    display: block;
}

.logo-tagline {
    font-size: 11px;
    color: var(--gray);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.admin-link {
    background: var(--secondary) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Flash Messages */
.flash-message {
    padding: 14px 0;
    font-weight: 500;
}

.flash-success {
    background: #e8f5e9;
    color: var(--success);
}

.flash-error {
    background: #ffebee;
    color: var(--danger);
}

.flash-message i { margin-right: 8px; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.hero-desc {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--primary-dark); color: var(--white); }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 24px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-card p {
    font-size: 13px;
    color: var(--gray);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
    padding: 20px;
}

.gallery-overlay h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 12px;
    opacity: 0.9;
}

/* Course Cards */
.course-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 22px;
}

.course-icon.blue { background: #1565c0; }
.course-icon.pink { background: #c2185b; }
.course-icon.purple { background: #7b1fa2; }
.course-icon.green { background: #2e7d32; }
.course-icon.orange { background: #ef6c00; }
.course-icon.red { background: #c62828; }

.course-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.course-card p {
    font-size: 13px;
    color: var(--gray);
}

/* CTA */
.cta-content {
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cta p {
    opacity: 0.8;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-phones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phones a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
}

/* Forms */
.form-section { padding: 40px 0 60px; }

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-wrapper-lg { max-width: 800px; }

.form-section-title {
    font-size: 18px;
    color: var(--primary);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light);
}

.form-section-title:first-child { margin-top: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--dark);
}

.required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}

.form-note {
    background: #e3f2fd;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--info);
    margin-bottom: 20px;
}

.form-note i { margin-right: 6px; }

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #071a09 100%);
    color: var(--white);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
    padding-bottom: 36px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-logo-wrap {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 193, 7, 0.35);
}

.footer-brand-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--white);
}

.footer-tagline {
    opacity: 0.9;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-motto {
    font-style: italic;
    color: var(--accent) !important;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links ul {
    list-style: none;
    width: 100%;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a i {
    font-size: 10px;
    color: var(--accent);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact .contact-list {
    list-style: none;
    width: 100%;
}

.footer-contact .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-list-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 13px;
}

.contact-list-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-word;
}

.footer-contact a.contact-list-text {
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a.contact-list-text:hover {
    color: var(--accent);
}

.footer-col p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* Admin Login */
.admin-login-page {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container { width: 100%; max-width: 420px; padding: 20px; }

.login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-header { text-align: center; margin-bottom: 30px; }

.login-logo img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.login-header h1 { font-size: 24px; color: var(--primary); }
.login-header p { color: var(--gray); font-size: 14px; }

.login-form .form-group label i { margin-right: 6px; color: var(--primary); }

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.login-hint {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
}

/* Admin Panel Layout */
.admin-body {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-brand {
    padding: 20px 16px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-brand i { font-size: 24px; color: var(--accent); }

.sidebar-nav { padding: 16px 0; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-right: 3px solid var(--accent);
}

.logout-link { margin-top: 20px; color: #ef9a9a !important; }

.admin-main {
    flex: 1;
    margin-left: 260px;
}

.admin-topbar {
    background: var(--white);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar h1 {
    font-size: 20px;
    color: var(--primary);
    flex: 1;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.admin-user i { font-size: 24px; color: var(--primary); }

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
}

.admin-content { padding: 30px; }

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.stat-blue .stat-icon { background: #1565c0; }
.stat-green .stat-icon { background: #2e7d32; }
.stat-orange .stat-icon { background: #ef6c00; }
.stat-red .stat-icon { background: #c62828; }

.stat-info h3 { font-size: 28px; color: var(--dark); }
.stat-info p { font-size: 13px; color: var(--gray); }

/* Admin Panel */
.admin-panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header h2 {
    font-size: 18px;
    color: var(--primary);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Admin Table */
.table-responsive { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    background: var(--light);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.admin-table tr:hover { background: #fafafa; }

.admin-table a { color: var(--primary); text-decoration: none; }

.truncate {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.actions { white-space: nowrap; }

.btn-edit {
    background: #e3f2fd;
    color: #1565c0;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-delete {
    background: #ffebee;
    color: #c62828;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-contacted { background: #fff3e0; color: #ef6c00; }
.badge-closed { background: #f5f5f5; color: #757575; }
.badge-pending { background: #fff3e0; color: #ef6c00; }
.badge-approved { background: #e8f5e9; color: #2e7d32; }
.badge-rejected { background: #ffebee; color: #c62828; }

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success { background: #e8f5e9; color: var(--success); }
.alert-error { background: #ffebee; color: var(--danger); }
.alert i { margin-right: 8px; }

/* Admin Form */
.admin-form { padding: 24px; }

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.info-row:last-child { border-bottom: none; }

.info-label {
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }

/* Responsive */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .course-cards { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo-img { height: 48px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .hero-content { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .hero-image { order: -1; }
    .form-row { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .course-cards { grid-template-columns: 1fr; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .sidebar-toggle { display: block; }
    .admin-stats { grid-template-columns: 1fr; }
    .hero-new-content { grid-template-columns: 1fr !important; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; }
    .about-preview { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .steps-preview { flex-wrap: wrap; }
    .documents-grid { grid-template-columns: 1fr 1fr !important; }
    .detailed-services { grid-template-columns: 1fr !important; }
    .mv-grid { grid-template-columns: 1fr !important; }
    .why-grid { grid-template-columns: 1fr 1fr !important; }
    .apply-box { flex-direction: column; text-align: center; }
    .settings-grid { grid-template-columns: 1fr; }
}

/* ===== NEW Jeevika Styles ===== */

.section-label {
    display: inline-block;
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.section-label.light {
    background: rgba(255,255,255,0.2);
    color: var(--accent);
}

.mb-4 { margin-bottom: 24px; }

/* Hero New - No Image */
.hero-new {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #388e3c 100%);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--white);
}

.shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.shape-2 { width: 250px; height: 250px; bottom: -50px; left: 10%; }
.shape-3 { width: 150px; height: 150px; top: 30%; right: 30%; }

.hero-new-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-new-text h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-tagline-gu {
    font-size: 22px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-tagline-en {
    font-size: 16px;
    opacity: 0.85;
    font-style: italic;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-box {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    opacity: 0.85;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--white);
    font-size: 22px;
}

.service-card h3 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 6px;
}

.service-card p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-preview-text h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-preview-text p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin-bottom: 24px;
}

.check-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--dark);
}

.check-list i {
    color: var(--primary-light);
    margin-right: 8px;
}

.about-preview-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.mission-card.vision {
    border-left-color: var(--secondary);
}

.mission-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.mission-card.vision i { color: var(--secondary); }

.mission-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.mission-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* Steps Preview */
.steps-preview {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.step-preview {
    flex: 1;
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
    font-size: 16px;
}

.step-preview h4 {
    font-size: 12px;
    color: var(--primary);
}

/* Process Timeline */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 56px;
    bottom: -32px;
    width: 2px;
    background: #c8e6c9;
}

.process-step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.process-step-content {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.process-step-content h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 6px;
}

.process-step-content p {
    font-size: 14px;
    color: var(--gray);
}

/* Documents Grid */
.doc-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #f57f17;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.doc-notice i { margin-right: 8px; }

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.document-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.doc-num {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    min-width: 28px;
}

.doc-icon {
    color: var(--primary-light);
    font-size: 16px;
    min-width: 20px;
}

.doc-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.doc-reminder {
    display: flex;
    gap: 16px;
    background: #ffebee;
    border: 1px solid #ef9a9a;
    padding: 20px 24px;
    border-radius: var(--radius);
    margin-top: 30px;
    align-items: flex-start;
}

.doc-reminder-icon {
    font-size: 28px;
    color: var(--danger);
}

.doc-reminder h4 {
    color: var(--danger);
    margin-bottom: 6px;
}

.doc-reminder p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Apply Box */
.apply-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    gap: 24px;
}

.apply-box h2 { margin-bottom: 8px; }
.apply-box p { opacity: 0.9; }

.apply-box-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Detailed Services */
.detailed-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.detailed-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.detailed-service-card:hover { transform: translateX(6px); }
.detailed-service-card.blue { border-left-color: #1565c0; }
.detailed-service-card.green { border-left-color: #2e7d32; }
.detailed-service-card.purple { border-left-color: #7b1fa2; }
.detailed-service-card.orange { border-left-color: #ef6c00; }
.detailed-service-card.red { border-left-color: #c62828; }

.ds-emoji { font-size: 36px; }

.detailed-service-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

.detailed-service-card p {
    font-size: 14px;
    color: var(--gray);
}

/* About Page */
.about-content { max-width: 900px; margin: 0 auto; }

.lead {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-main p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.mv-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover { transform: translateY(-5px); }

.mv-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 24px;
}

.mv-icon.vision-icon { background: linear-gradient(135deg, #e65100, #ef6c00); }
.mv-icon.values-icon { background: linear-gradient(135deg, #c62828, #e53935); }

.mv-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.mv-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-item {
    text-align: center;
    padding: 24px;
}

.why-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-item h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--primary);
}

.why-item p {
    font-size: 13px;
    color: var(--gray);
}

/* Testimonial */
.testimonial-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
}

.testimonial-author i { font-size: 24px; color: var(--primary); }

/* Gallery Filter */
.gallery-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-cat {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.gallery-card.hidden { display: none; }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 14px;
    color: var(--gray);
    text-decoration: none;
}

.contact-item a:hover { color: var(--primary); }

.contact-form-wrap {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
}

.contact-item .social-links a {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: var(--primary);
    font-size: 14px;
    gap: 6px;
}

.contact-social {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
}

.map-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.map-directions-link:hover {
    color: var(--secondary);
}

/* Map Section */
.map-section {
    padding-bottom: 70px;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.map-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e8e8e8;
    min-height: 420px;
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.map-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.map-info-header i {
    font-size: 28px;
    color: var(--primary);
}

.map-info-header h3 {
    font-size: 20px;
    color: var(--primary);
}

.map-address {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.map-details {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.map-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.map-details li i {
    color: var(--primary-light);
    margin-top: 3px;
    min-width: 16px;
}

/* Form Note Warning */
.form-note-warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #f57f17;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-note-warning a {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-new-content { grid-template-columns: 1fr; }
    .about-preview { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .map-wrapper { grid-template-columns: 1fr; }
    .map-card, .google-map { min-height: 320px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .hero-new-text h1 { font-size: 26px; }
    .hero-tagline-gu { font-size: 18px; }
    .documents-grid { grid-template-columns: 1fr; }
    .steps-preview { flex-direction: column; }
    .why-grid { grid-template-columns: 1fr; }
}

/* ===== Global Safe Responsive Base ===== */
html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.page-header h1 {
    font-size: clamp(22px, 5vw, 32px);
}

.section-header h2 {
    font-size: clamp(22px, 4vw, 32px);
}

.form-wrapper {
    padding: clamp(20px, 4vw, 40px);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll-hint {
    display: none;
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    padding: 8px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .testimonial-box {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .admin-sidebar {
        width: 260px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

    .admin-sidebar.active {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .stat-info h3 {
        font-size: 22px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        display: flex;
        gap: 6px;
    }

    .actions .btn-sm {
        padding: 8px 10px;
    }

    .section {
        padding: 40px 0;
    }

    .page-header {
        padding: 28px 0;
    }

    .hero-new {
        padding: 50px 0 36px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-stats .stat-box {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        padding: 16px;
    }

    .stat-num {
        font-size: 28px;
    }

    .cta-phones {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .apply-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .apply-box-actions {
        flex-direction: column;
        width: 100%;
    }

    .apply-box-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .detailed-service-card {
        flex-direction: column;
        text-align: center;
    }

    .process-step {
        flex-direction: row;
        gap: 16px;
    }

    .process-step:not(:last-child)::after {
        display: block;
    }

    .doc-reminder {
        flex-direction: column;
    }

    .doc-notice {
        font-size: 13px;
        padding: 14px 16px;
        margin: 0 0 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .panel-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .panel-header h2 {
        font-size: 16px;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .admin-topbar h1 {
        font-size: 16px;
        order: 2;
        width: 100%;
        margin-top: 4px;
    }

    .admin-user {
        font-size: 13px;
        margin-left: auto;
    }

    .admin-table {
        font-size: 12px;
        min-width: 600px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 10px;
    }

    .table-scroll-hint {
        display: block;
    }

    .admin-form {
        padding: 16px;
    }

    .admin-form .form-row {
        grid-template-columns: 1fr;
    }

    .admin-panel .panel-header .btn {
        width: 100%;
        justify-content: center;
    }

    .login-container {
        padding: 16px;
    }

    .login-card {
        padding: clamp(24px, 5vw, 40px);
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-info h2 {
        font-size: 22px;
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 14px;
        background: var(--light);
        border-radius: var(--radius);
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-social {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-card,
    .google-map {
        min-height: 280px;
    }

    .map-info-card {
        padding: 20px;
    }

    .map-info-header h3 {
        font-size: 17px;
    }

    /* Admission Process */
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-item {
        padding: 12px 14px;
    }

    .process-timeline {
        padding: 0 4px;
    }

    .process-step {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-step-num {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 16px;
    }

    .process-step-content {
        padding: 16px 18px;
    }

    .process-step-content h3 {
        font-size: 15px;
    }

    /* Footer mobile */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col {
        align-items: center;
        text-align: center;
        width: 100%;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-col:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul,
    .footer-contact .contact-list {
        max-width: 320px;
        margin: 0 auto;
        text-align: left;
    }

    .footer-links ul li a {
        width: 100%;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-brand .footer-heading::after,
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .table-scroll-hint {
        display: none !important;
    }
}

/* Mobile small screens */
@media (max-width: 480px) {
    .login-logo img {
        width: 100px;
        height: 100px;
    }

    .admin-user {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stat-card .stat-icon {
        margin: 0 auto;
    }

    .pagination {
        justify-content: center;
    }

    .page-btn {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 11px;
    }

    .logo-img {
        height: 42px;
    }

    .hero-new-text h1 {
        font-size: 22px;
    }

    .hero-tagline-gu {
        font-size: 16px;
    }

    .hero-stats .stat-box {
        flex: 1 1 100%;
    }

    .document-item {
        padding: 12px 14px;
    }

    .doc-name {
        font-size: 13px;
    }

    .gallery-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .map-card,
    .google-map {
        min-height: 240px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .map-directions-link {
        justify-content: center;
        display: flex;
    }

    .footer-logo-wrap {
        width: 100px;
        height: 100px;
    }

    .panel-header h2 {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Admin Search, Filter & Pagination */
.table-toolbar {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.filter-search {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search i {
    position: absolute;
    left: 12px;
    color: var(--gray);
    font-size: 14px;
}

.filter-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    min-width: 120px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.table-summary {
    font-size: 13px;
    color: var(--gray);
}

.table-summary strong {
    color: var(--primary);
}

.empty-row {
    padding: 40px 16px !important;
    color: var(--gray);
    font-style: italic;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.page-btn:hover:not(.disabled):not(.active) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-dots {
    padding: 0 4px;
    color: var(--gray);
    font-size: 14px;
}

.pagination-info {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search,
    .filter-select {
        width: 100%;
        min-width: 0;
    }

    .filter-form .btn {
        width: 100%;
        justify-content: center;
    }

    .pagination-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
