/* ================================
   GLOBAL STYLES & RESET
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Baloo 2', 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo i {
    font-size: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* DROPDOWN MENU STYLES */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-light) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
    padding-left: 1.5rem;
}

.dropdown-menu a.active {
    background: var(--light-bg);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.dropdown-menu a i {
    font-size: 1rem;
    width: 1.2rem;
    color: inherit;
}

.admin-link {
    color: #10b981 !important;
}

.logout-link {
    color: #ef4444 !important;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ================================
   SEARCH CONTAINER
   ================================ */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 55px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--shadow-lg);
    font-family: 'Baloo 2', 'Noto Serif Bengali', sans-serif;
}

.search-btn {
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #db2777;
}

/* ================================
   CATEGORIES SECTION
   ================================ */
.categories-section,
.recent-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ================================
   LYRICS GRID
   ================================ */
.lyrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.lyrics-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.lyrics-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lyrics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.lyrics-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.lyrics-card .category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.lyrics-card .stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.lyrics-card .stats i {
    margin-right: 5px;
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================================
   FOOTER
   ================================ */
.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-section ul li {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ================================
   BROWSE PAGE STYLES
   ================================ */

.browse-section {
    padding: 40px 0;
    min-height: 70vh;
}

.browse-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* ================================
   SIDEBAR
   ================================ */

.sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-bg);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 500;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.category-list a i {
    color: var(--primary-color);
}

.category-list a:hover i,
.category-list a.active i {
    color: var(--white);
}

.category-list .count {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-list a:hover .count,
.category-list a.active .count {
    background: rgba(255, 255, 255, 0.9);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ================================
   MAIN CONTENT - BROWSE PAGE
   ================================ */

.main-content {
    min-height: 500px;
}

.browse-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.browse-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.browse-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-results i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* ================================
   PAGINATION
   ================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-btn,
.page-num {
    padding: 0.6rem 1rem;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 500;
}

.page-btn:hover,
.page-num:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.page-num.active {
    background: var(--primary-color);
    color: var(--white);
}

.dots {
    color: var(--text-light);
    padding: 0 0.5rem;
}

/* ================================
   LYRICS PAGE
   ================================ */

.lyrics-section {
    padding: 40px 0;
    min-height: 70vh;
}

.lyrics-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.lyrics-header {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.lyrics-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lyrics-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.category-badge,
.date,
.views {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.category-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 600;
}

.lyrics-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.lyrics-content {
    font-size: 20px;
    line-height: 2;
    color: var(--text-dark);
    padding: 2rem 1rem;
    font-family: 'Noto Serif Bengali', 'Baloo 2', sans-serif;
}

.lyrics-content p {
    margin-bottom: 1.5rem;
}

/* ================================
   SHARE MODAL
   ================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.share-btn {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-link {
    display: flex;
    gap: 0.5rem;
}

.share-link input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
}

.share-link button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.share-link button:hover {
    background: var(--secondary-color);
}

/* ================================
   SEARCH PAGE
   ================================ */

.search-section {
    padding: 60px 0;
    min-height: 70vh;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.search-page-form {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.search-input-group {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.search-input-group>i.fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.2rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 55px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    font-family: 'Baloo 2', 'Noto Serif Bengali', sans-serif;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-submit-btn {
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #db2777;
}

.filters-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.filter-group label i {
    color: var(--primary-color);
}

.filter-group select {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    font-family: 'Baloo 2', 'Noto Serif Bengali', sans-serif;
}

.search-results {
    max-width: 1200px;
    margin: 0 auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.clear-filters {
    padding: 0.6rem 1.5rem;
    background: var(--light-bg);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.clear-filters:hover {
    background: var(--border-color);
}

/* ================================
   SUBMIT PAGE
   ================================ */

.submit-section {
    padding: 60px 0;
    min-height: 70vh;
}

.submit-container {
    max-width: 900px;
    margin: 0 auto;
}

.submit-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Baloo 2', 'Noto Serif Bengali', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.8;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.submit-btn,
.reset-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.reset-btn {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.reset-btn:hover {
    background: var(--border-color);
}

/* ================================
   GUIDELINES
   ================================ */

.guidelines {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guidelines h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.guidelines h3 i {
    color: var(--primary-color);
}

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

.guidelines li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.guidelines li:last-child {
    border-bottom: none;
}

.guidelines li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ================================
   ALERTS
   ================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #60a5fa;
}

/* ================================
   KEYBOARD HELPER
   ================================ */

.keyboard-helper {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.keyboard-toggle-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.keyboard-toggle-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.keyboard-layout {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    overflow-x: auto;
}

.keyboard-layout h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.keyboard-info {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.keyboard-info p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.keyboard-info kbd {
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.phonetic-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.phonetic-table td {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    text-align: center;
}

.phonetic-table tr:first-child td {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.phonetic-table tr:last-child td {
    background: #fef3c7;
    color: #92400e;
    font-family: monospace;
    font-size: 0.85rem;
}

/* ================================
   EDIT PAGE STYLES
   ================================ */

.edit-section {
    padding: 60px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.edit-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.edit-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
}

.edit-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.edit-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--secondary-color);
    gap: 0.8rem;
}

/* ================================
   ADMIN PANEL STYLES
   ================================ */

.admin-panel {
    padding: 60px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.admin-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: var(--text-light);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-box .stat-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
}

.stat-box .stat-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.admin-tools {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--secondary-color);
}

.admin-table {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

tbody tr:hover {
    background: var(--light-bg);
}

tbody td {
    padding: 1rem;
    color: var(--text-dark);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-view {
    background: #3b82f6;
    color: var(--white);
}

.btn-edit {
    background: #f59e0b;
    color: var(--white);
}

.btn-delete {
    background: #ef4444;
    color: var(--white);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-category {
    background: #dbeafe;
    color: #1e40af;
}

/* ================================
   BUTTON STYLES
   ================================ */

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: #64748b;
    color: var(--white);
}

.btn-secondary:hover {
    background: #475569;
}

.btn-danger {
    background: #ef4444;
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 992px) {
    .browse-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }

    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {

    /* NAVIGATION */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    /* MOBILE DROPDOWN */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.mobile-open .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu a {
        padding-left: 2rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* HERO SECTION */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    /* GRIDS */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .lyrics-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .browse-header h1 {
        font-size: 2rem;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    /* PAGINATION */
    .pagination {
        gap: 0.3rem;
    }

    .page-btn,
    .page-num {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    /* LYRICS PAGE */
    .lyrics-container {
        padding: 1.5rem;
    }

    .lyrics-title {
        font-size: 1.8rem;
    }

    .lyrics-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .lyrics-actions {
        justify-content: center;
    }

    .action-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .lyrics-content {
        font-size: 18px;
        padding: 1rem 0.5rem;
    }

    /* MODAL */
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 1.5rem;
    }

    /* SEARCH PAGE */
    .page-title {
        font-size: 2rem;
    }

    .search-page-form {
        padding: 1.5rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* SUBMIT PAGE */
    .submit-container {
        padding: 0 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .submit-form {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .reset-btn {
        width: 100%;
    }

    .phonetic-table td {
        padding: 0.3rem;
        font-size: 0.9rem;
    }

    .keyboard-helper {
        padding: 1rem;
    }

    .guidelines {
        padding: 1.5rem;
    }

    /* EDIT PAGE */
    .edit-container {
        padding: 2rem 1.5rem;
    }

    .edit-header h1 {
        font-size: 1.6rem;
    }

    /* ADMIN PANEL */
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
    }

    table {
        font-size: 0.85rem;
    }

    thead th,
    tbody td {
        padding: 0.6rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .browse-header h1 {
        font-size: 1.8rem;
    }

    .browse-header p {
        font-size: 0.9rem;
    }

    .category-list a {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }

    .page-btn,
    .page-num {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .lyrics-title {
        font-size: 1.5rem;
    }

    .lyrics-content {
        font-size: 16px;
    }

    .share-link {
        flex-direction: column;
    }

    .share-link button {
        width: 100%;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .search-input {
        padding: 0.8rem 0.8rem 0.8rem 45px;
    }

    .search-input-group i {
        left: 15px;
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .phonetic-table td {
        font-size: 0.8rem;
    }
}

/* ================================
   FOOTER - 4-COLUMN OAKOKHO STYLE
   ================================ */

.main-footer .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.main-footer .footer-section ul li i {
    margin-right: 0.5rem;
    opacity: 0.7;
    width: 16px;
    display: inline-block;
}

/* ================================
   AUTOCOMPLETE - HERO & SEARCH
   ================================ */

.hero-search-autocomplete,
.autocomplete-suggestions {
    position: absolute;
    z-index: 99999;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: none;
    left: 0;
    top: 100%;
}

.hero-autocomplete-suggestion,
.autocomplete-suggestion {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    background: #fff;
    display: block;
}

.hero-autocomplete-suggestion:hover,
.hero-autocomplete-suggestion.selected,
.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background: #f0f0ff;
}

.hero-autocomplete-suggestion:last-child,
.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.hero-suggestion-title,
.suggestion-title {
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-suggestion-category,
.suggestion-category {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Hero keyboard indicator (on gradient bg) */
.hero-keyboard-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

.hero-keyboard-indicator.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-keyboard-indicator kbd,
.keyboard-indicator kbd {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* Search page keyboard indicator (on light bg) */
.keyboard-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--light-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    z-index: 1;
    pointer-events: none;
}

.keyboard-indicator.active {
    color: var(--primary-color);
    background: #ede9fe;
    border-color: var(--primary-color);
}

.keyboard-indicator kbd {
    background: var(--border-color);
    color: var(--text-dark);
}

/* Hero keyboard toggle btn override (white bg on gradient) */
.hero-section .keyboard-helper {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
    background: transparent;
    box-shadow: none;
}

.hero-section .keyboard-toggle-btn {
    background: white !important;
    color: var(--primary-color) !important;
    border: 2px solid white !important;
}

.hero-section .keyboard-toggle-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
}

.hero-section .keyboard-layout {
    box-shadow: none;
}

/* ================================
   INDEX - ABOUT ASSAMESE MUSIC
   ================================ */

.about-music-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.about-music-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.about-music-content .intro-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: justify;
}

.about-music-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-music-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: justify;
}

.music-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.music-type-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.music-type-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .about-music-content {
        padding: 2rem 1.5rem;
    }

    .about-music-content h3 {
        font-size: 1.5rem;
    }

    .about-music-content p,
    .about-music-content .intro-text {
        font-size: 1rem;
        text-align: left;
    }

    .music-types-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .music-type-item {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}


/* ================================
   ABOUT PAGE
   ================================ */

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: 60px 0;
}

.about-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-section h2 i {
    font-size: 2.2rem;
}

.about-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.about-section li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-section li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
}

.oakokho-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.oakokho-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.oakokho-logo h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.oakokho-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.project-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.project-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-card a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.about-contact-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-section {
        padding: 2rem 1.5rem;
    }

    .about-section h2 {
        font-size: 1.6rem;
    }

    .about-section p,
    .about-section li {
        font-size: 1rem;
        text-align: left;
    }

    .features-grid,
    .oakokho-projects {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ================================
   CATEGORIES MANAGEMENT PAGE
   ================================ */

.categories-management {
    padding: 60px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.categories-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat-item-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.stat-item-inline i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.stat-item-inline strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.action-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.categories-list {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.categories-list-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.5rem 2rem;
}

.categories-list-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.category-item:hover {
    background: var(--light-bg);
}

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

.category-info {
    flex: 1;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.category-actions {
    display: flex;
    gap: 0.5rem;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.warning-box p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
}

.danger-box {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.danger-box p {
    margin: 0;
    color: #991b1b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .action-cards {
        grid-template-columns: 1fr;
    }

    .category-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-actions {
        width: 100%;
    }

    .stats-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}