/* 
 * Adarsha Computer & Training Center Theme
 * Custom CSS Styles
 */

/* ===== Base Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ===== Header Styles ===== */
.header-top {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: white;
}

.site-logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.header-middle {
    padding: 15px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.search-container {
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.search-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0056b3;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.auth-buttons .btn {
    white-space: nowrap;
}

.header-bottom {
    background: #2c3e50;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.main-nav a:hover {
    background: #34495e;
    color: #fff;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #3498db;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* ===== Cards ===== */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 15px 20px;
}

.card-title {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

/* ===== Service Cards ===== */
.service-card {
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
}

.service-card .card-text {
    flex-grow: 1;
}

.service-meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* ===== Course Cards ===== */
.course-card {
    height: 100%;
    border: 1px solid #e9ecef;
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .card-body {
    display: flex;
    flex-direction: column;
}

.course-card .card-text {
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* ===== Dashboard Styles ===== */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 30px 0;
    min-height: 70vh;
}

.dashboard-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: fit-content;
}

.dashboard-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.user-profile img {
    border-radius: 50%;
    border: 3px solid #3498db;
}

.dashboard-nav .nav-link {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    color: #495057;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dashboard-nav .nav-link:hover {
    background: #e9ecef;
    color: #007bff;
    border-left-color: #007bff;
}

.dashboard-nav .nav-link.active {
    background: #007bff;
    color: white;
    border-left-color: #0056b3;
}

.dashboard-nav .dashicons {
    margin-right: 10px;
    vertical-align: middle;
}

.tab-content {
    padding: 20px 0;
}

/* ===== Search Results ===== */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.search-result-item:hover {
    background: #f8f9fa;
    text-decoration: none;
}

.result-type {
    font-size: 12px;
    color: #007bff;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.result-excerpt {
    font-size: 14px;
    color: #666;
}

/* ===== Forms ===== */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #0da271 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e68a00 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e11d1d 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

/* ===== Badges ===== */
.badge {
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 20px;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* ===== Tables ===== */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #2c3e50;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-top: 1px solid #eee;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* ===== Footer Styles ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 10px;
}

.contact-info {
    line-height: 1.8;
}

.contact-info strong {
    color: #3498db;
}

.google-map {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.newsletter {
    margin-top: 20px;
}

.newsletter h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.copyright strong {
    color: #3498db;
}

/* ===== Service Order Page Styles ===== */
.service-option {
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.service-option.selected {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.select-service-btn {
    width: 100%;
}

.selected-service-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
}

/* ===== Author Bio ===== */
.author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid #3498db;
}

.author-description h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* ===== Comment Styles ===== */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-metadata {
    color: #666;
    font-size: 0.9em;
}

.comment-content {
    margin-top: 15px;
    line-height: 1.6;
}

.reply {
    margin-top: 15px;
}

/* ===== Loading States ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== Order Success Message ===== */
.order-success {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.order-success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

/* ===== Process Steps ===== */
.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
}

.step-icon .dashicons {
    font-size: 48px;
    color: #667eea;
}

/* ===== Category Cards ===== */
.category-card {
    transition: all 0.3s;
    background: white;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon .dashicons {
    color: #667eea;
}

/* ===== Feature Icons ===== */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-icon .dashicons {
    font-size: 48px;
    color: #667eea;
}

/* ===== Breadcrumbs ===== */
.breadcrumb-nav {
    padding: 15px 0;
    background: #f8f9fa;
    margin-bottom: 30px;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: #667eea;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* ===== Pagination ===== */
.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-link {
    border: none;
    color: #667eea;
    margin: 0 2px;
    border-radius: 4px;
}

.page-link:hover {
    background: #667eea;
    color: white;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

/* ===== Alerts ===== */
.alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border-left: 4px solid #3b82f6;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-left: 4px solid #10b981;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

/* ===== Progress Bars ===== */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    margin-bottom: 10px;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
}

/* ===== Modal Customization ===== */
.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 20px;
}

.modal-title {
    color: white;
    margin: 0;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

/* ===== Utility Classes ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.box-shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

/* ===== Print Styles ===== */
@media print {
    .header-bottom,
    .footer,
    .auth-buttons,
    .search-container,
    .cta-buttons {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-buttons {
        margin-left: 0;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-sidebar {
        margin-bottom: 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .service-card .card-img-top,
    .course-card .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
    body {
        color: black;
        background: white;
    }
    
    .card {
        border: 2px solid black;
    }
    
    .btn {
        border: 2px solid black;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Dark Mode Support ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .card {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .card-title {
        color: #ffffff;
    }
    
    .table {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .table thead th {
        background: #3d3d3d;
        color: #ffffff;
    }
    
    .form-control {
        background: #2d2d2d;
        border-color: #4d4d4d;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        background: #2d2d2d;
        border-color: #667eea;
        color: #e0e0e0;
    }
}
/* Header Styles */
.site-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    border-bottom: 1px solid #e9ecef;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.site-description {
    font-size: 0.9rem;
}

.header-search .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.header-auth .dropdown-menu {
    min-width: 200px;
}

/* Navigation Styles */
.navbar {
    padding: 0;
}

.navbar-nav .nav-link {
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .header-top .col-md-4 {
        margin-bottom: 15px;
        text-align: center !important;
    }
    
    .header-auth {
        text-align: center !important;
    }
    
    .header-auth .d-flex {
        justify-content: center;
    }
    
    .navbar-collapse {
        background-color: #343a40;
        padding: 15px;
        margin-top: 10px;
        border-radius: 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .dropdown-menu {
        background-color: #495057;
    }
    
    .dropdown-item {
        color: rgba(255,255,255,.8);
    }
    
    .dropdown-item:hover {
        background-color: #6c757d;
        color: white;
    }
}

@media (max-width: 767.98px) {
    .site-logo {
        text-align: center;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .header-search {
        margin: 10px 0;
    }
}

/* Sticky Navigation */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Animation for dropdown */
.dropdown-menu {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge styles for menu items */
.navbar-nav .badge {
    font-size: 0.6rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* Active menu item */
.navbar-nav .nav-item.active .nav-link {
    background-color: rgba(255,255,255,0.15);
    font-weight: 600;
}

/* Hover effects for buttons */
.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}