/* Hospital Management System - Modern Design */
/* Color Palette */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
}

/* Ensure HTML also uses variable background */
html {
    background: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.pulse-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.pulse-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.pulse-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -150px;
    animation-delay: 2s;
}

.pulse-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Header */
/* Header */
.main-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.main-header * {
    color: var(--text-primary);
}

.main-header .hospital-logo h1,
.main-header .hospital-logo span {
    color: var(--text-primary);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    gap: 1.5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hospital-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hospital-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

/* Mobile menu toggle - ALWAYS VISIBLE with gradient background */
.mobile-menu-toggle {
    display: block !important;
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px 15px;
    margin-left: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
    background: rgba(79, 70, 229, 0.3);
}

.main-nav .language-switcher,
.main-nav .theme-toggle {
    width: 100%;
    margin-top: 0.5rem;
}

.main-nav .lang-btn,
.main-nav .theme-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover .btn-shine {
    left: 100%;
}

.btn-block {
    width: 100%;
}

/* Hero Image */
.hero-image {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-wrapper {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.image-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(79, 70, 229, 0.5));
}

/* Quick Access */
.quick-access {
    padding: 4rem 0;
    background: rgba(30, 41, 59, 0.5);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.quick-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.quick-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.quick-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.quick-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ID Check Section */
.id-check-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.id-check-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.discount-badge {
    display: inline-block;
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Result Display */
.result-display {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Footer */
/* Footer - Light theme by default */
.main-footer {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #1e293b !important;
}

.footer-section p,
.footer-section ul {
    color: #475569 !important;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #475569 !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #4F46E5 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

/* Dark theme override - when user toggles to dark */
[data-theme="dark"] .main-footer {
    background: #0f172a !important;
    color: #f1f5f9 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
    color: #ffffff !important;
}

[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section ul {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .footer-section a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .footer-section a:hover {
    color: #6366F1 !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .main-nav {
        gap: 1rem;
    }

    .services-grid,
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes floatIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-contact-wrapper {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    animation: floatIn 0.5s ease-out forwards;
}

.floating-contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulse-float 2s infinite ease-in-out;
}

@keyframes pulse-float {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }
}

.floating-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.floating-contact-btn.whatsapp {
    background-color: #25D366;
}

.floating-contact-btn.call {
    background-color: #1E40AF;
}

@media (max-width: 640px) {
    .floating-contact-wrapper {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .floating-contact-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: slideIn 0.5s ease-out;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border-left: 4px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border-left: 4px solid var(--warning);
    color: var(--warning);
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-table thead {
    background: var(--bg-secondary);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    color: var(--text-primary);
    font-weight: 600;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:hover {
    background: var(--bg-card-hover);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}



/* Settings Dropdown */
.settings-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.settings-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.settings-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.settings-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.settings-dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.settings-dropdown-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    font-size: 0.95rem;
}

.settings-dropdown-item:hover {
    background-color: var(--bg-secondary);
}

.settings-dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 5px 0;
}

/* Toggle Switch Style for Dropdown */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: '';
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary);
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

/* Hospital List Page Styles */
.category-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.category-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.category-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-header.active .category-icon {
    transform: rotate(180deg);
}

.hospital-list {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    margin-top: -5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hospital-list.active {
    display: block;
}

.hospital-item {
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hospital-item:hover {
    background: #e3f2fd;
    border-left-color: #2980b9;
    transform: translateX(5px);
}

.hospital-item strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.hospital-item p {
    margin: 5px 0 0 0;
    color: #555;
}

/* Photo Gallery Styles */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.certificate-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.certificate-card:nth-child(1) {
    animation-delay: 0.1s;
}

.certificate-card:nth-child(2) {
    animation-delay: 0.2s;
}

.certificate-card:nth-child(3) {
    animation-delay: 0.3s;
}

.certificate-card:nth-child(4) {
    animation-delay: 0.4s;
}

.certificate-card:nth-child(5) {
    animation-delay: 0.5s;
}

.certificate-card:nth-child(6) {
    animation-delay: 0.6s;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.certificate-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}


/* Mobile Navigation & Header Enhancements */
@media (max-width: 768px) {
    .main-header .container {
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .main-nav.active {
        display: flex !important;
    }

    .nav-link {
        color: #000 !important;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active,
    .nav-link:hover {
        background-color: #f0f0f0 !important;
    }
}

/* Desktop - hide hamburger, show nav inline */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .main-nav {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        width: auto;
        position: static;
        background: transparent;
        padding: 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: none;
    }
}