/* BikeCare SMC Pvt Ltd - Main Stylesheet */

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #2c3e50;
    --secondary-light: #34495e;
    --accent: #f39c12;
    --success: #27ae60;
    --warning: #f1c40f;
    --danger: #e74c3c;
    --info: #3498db;
    --light: #ecf0f1;
    --dark: #1a1a2e;
    --white: #ffffff;
    --gray: #95a5a6;
    --gray-light: #bdc3c7;
    --gray-dark: #7f8c8d;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: var(--light);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    padding: 10px 15px;
    color: var(--secondary);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--secondary-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.slide-content {
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-header {
    padding: 20px;
    background: var(--light);
    border-bottom: 1px solid #ddd;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    background: var(--light);
    border-top: 1px solid #ddd;
}

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

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

.package-card.featured {
    border: 3px solid var(--primary);
    position: relative;
}

.package-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.package-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
}

.package-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.package-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.package-body {
    padding: 30px;
}

.package-description {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.package-features {
    text-align: left;
    margin-bottom: 25px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.package-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: bold;
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray-dark);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-dark);
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: var(--success);
    color: var(--white);
}

.badge-warning {
    background: var(--warning);
    color: var(--dark);
}

.badge-danger {
    background: var(--danger);
    color: var(--white);
}

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

.badge-secondary {
    background: var(--gray);
    color: var(--white);
}

.badge-info {
    background: var(--info);
    color: var(--white);
}

.badge-dark {
    background: var(--dark);
    color: var(--white);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
}

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

.table-actions {
    display: flex;
    gap: 5px;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 260px;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-user {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-menu {
    padding: 0 10px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 5px;
}

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

.sidebar-menu a.active {
    background: var(--primary);
}

.sidebar-icon {
    font-size: 1.2rem;
}

.dashboard-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--light);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 1.75rem;
    color: var(--secondary);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-icon.primary { background: var(--primary); }
.stat-icon.success { background: var(--success); }
.stat-icon.warning { background: var(--warning); }
.stat-icon.info { background: var(--info); }

.stat-info h3 {
    font-size: 1.75rem;
    color: var(--secondary);
}

.stat-info p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Declaration Page */
.declaration-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 40px auto;
}

.declaration-box h2 {
    color: var(--secondary);
    margin-bottom: 30px;
    text-align: center;
}

.declaration-points {
    counter-reset: point;
}

.declaration-points li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid var(--light);
    line-height: 1.8;
}

.declaration-points li::before {
    counter-increment: point;
    content: counter(point);
    position: absolute;
    left: 0;
    top: 15px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.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;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .sidebar {
        transform: translateX(-100%);
        z-index: 999;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-dark); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-0 { margin-bottom: 0; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }

.w-100 { width: 100%; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.service-content h3 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.service-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* Dashboard Footer */
.dashboard-footer {
    padding: 15px 20px;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    font-size: 0.875rem;
    margin-top: auto;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Notifications Card */
.notifications-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.notifications-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

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

.notification-item.unread {
    background: rgba(52,152,219,0.05);
}

.notification-item.late {
    background: rgba(231,76,60,0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-icon.success {
    background: rgba(39,174,96,0.1);
}

.notification-icon.warning {
    background: rgba(231,76,60,0.1);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.notification-message {
    font-size: 0.875rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid var(--light);
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Guarantor Form Section */
.guarantor-section {
    background: #f8f9fa;
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.guarantor-section h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.urdu-label {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    direction: rtl;
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
}

/* Image Preview */
.image-preview {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
}

/* Centered Registration/Auth Forms */
.auth-container,
.auth-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card .card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.auth-card .card-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.auth-card .card-body {
    padding: 30px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.auth-links a {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 480px) {
    .auth-container {
        margin: 20px auto;
    }
    
    .auth-card .card-body {
        padding: 20px;
    }
}

/* Hero Slider with Background Images */
.hero-slider .slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
}

.hero-slider .slide-1 {
    background-image: url('/public/assets/img/slide1.jpg');
    background-color: #e74c3c;
}

.hero-slider .slide-2 {
    background-image: url('/public/assets/img/slide2.jpg');
    background-color: #2c3e50;
}

.hero-slider .slide-3 {
    background-image: url('/public/assets/img/slide3.jpg');
    background-color: #f39c12;
}

/* Notification Bell & Dropdown */
.notification-bell {
    position: relative;
    font-size: 1.5rem;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.notification-bell .badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
}

.notif-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    margin-top: 10px;
}

.notif-dropdown-header {
    padding: 12px 15px;
    background: var(--light);
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--light);
    transition: var(--transition);
}

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

.notif-item.unread {
    background: #e8f4fd;
}

.notif-icon {
    font-size: 1.2rem;
}

.notif-text {
    flex: 1;
    font-size: 0.85rem;
}

.notif-text strong {
    display: block;
    margin-bottom: 3px;
}

.notif-text small {
    color: var(--gray-dark);
}

/* Sidebar Active State Fix */
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

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

.sidebar-menu a.active {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-left-color: var(--primary);
    font-weight: 600;
}

.sidebar-menu a .sidebar-icon {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Ensure all menu items display */
.sidebar-menu {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .notif-dropdown {
        width: 280px;
        right: -50px;
    }
}

/* =====================================================
   MOBILE RESPONSIVE DASHBOARD - Sidebar Toggle
   ===================================================== */

/* Hamburger Menu Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1002;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
}

.sidebar-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar Backdrop for Mobile */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

/* Show backdrop when body has .sidebar-open */
body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hamburger X animation when open */
body.sidebar-open .sidebar-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.sidebar-open .sidebar-toggle span:nth-child(2) {
    opacity: 0;
}

body.sidebar-open .sidebar-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Dashboard Styles */
@media (max-width: 992px) {
    .sidebar-toggle {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    /* Show sidebar when body has .sidebar-open */
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0;
        padding: 70px 15px 20px 15px;
    }
    
    .dashboard-header {
        flex-wrap: wrap;
        gap: 15px;
        padding-left: 50px;
    }
    
    .dashboard-title {
        font-size: 1.4rem;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
    
    .stat-info p {
        font-size: 0.8rem;
    }
    
    /* Table responsive */
    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Card adjustments */
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    /* Form adjustments */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .table-actions {
        flex-wrap: wrap;
    }
    
    /* Notification bell */
    .notification-bell {
        padding: 6px 10px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .dashboard-content {
        padding: 65px 10px 15px 10px;
    }
    
    .dashboard-header {
        padding-left: 45px;
    }
    
    .dashboard-title {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        flex-direction: row;
        text-align: left;
        padding: 12px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-info h3 {
        font-size: 1.25rem;
    }
    
    /* Alert adjustments */
    .alert {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    /* Badge adjustments */
    .badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    /* Sidebar width on small phones */
    .sidebar {
        width: 260px;
    }
    
    .sidebar-header {
        padding: 15px;
    }
    
    .sidebar-logo {
        font-size: 1.25rem;
    }
    
    .sidebar-menu a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Guarantor section */
    .guarantor-section {
        padding: 15px;
    }
    
    /* Declaration box */
    .declaration-box {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    /* Footer */
    .dashboard-footer {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    /* Prevent horizontal overflow */
    .dashboard-content {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Card/box full width */
    .card,
    .notifications-card,
    .guarantor-section {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Table minimum width reduced */
    .table {
        min-width: 100%;
    }
    
    .table th,
    .table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

/* Very small screens (iPhone SE, etc) */
@media (max-width: 375px) {
    .dashboard-content {
        padding: 60px 8px 12px 8px;
    }
    
    .dashboard-header {
        padding-left: 40px;
    }
    
    .dashboard-title {
        font-size: 1.1rem;
    }
    
    .stat-card {
        padding: 10px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-info h3 {
        font-size: 1.1rem;
    }
    
    .stat-info p {
        font-size: 0.75rem;
    }
    
    .sidebar {
        width: 240px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .form-control {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 992px) {
    .sidebar-menu a {
        min-height: 44px;
    }
    
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    select.form-control {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 35px;
    }
}
