@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Light Mode */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --brand-primary: #2563eb;       /* Royal Blue */
    --brand-secondary: #4f46e5;     /* Indigo */
    --brand-accent: #f97316;        /* Vibrant Orange for critical CTAs */
    --brand-accent-glow: rgba(249, 115, 22, 0.15);
    --text-primary: #0f172a;        /* Slate 900 */
    --text-secondary: #475569;      /* Slate 600 */
    --text-muted: #94a3b8;          /* Slate 400 */
    --border-color: #e2e8f0;        /* Slate 200 */
    --card-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --input-focus: rgba(37, 99, 235, 0.15);
    --result-bg: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(226, 232, 240, 0.8);
    --table-header-bg: #f1f5f9;
    --table-row-hover: #f8fafc;
    --badge-open-bg: #dcfce7;
    --badge-open-text: #15803d;
    --badge-wait-bg: #fef3c7;
    --badge-wait-text: #b45309;
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode */
    --bg-primary: #090d16;
    --bg-secondary: #111827;
    --brand-primary: #60a5fa;       /* Bright light blue */
    --brand-secondary: #818cf8;     /* Light Indigo */
    --brand-accent: #fb923c;        /* Soft orange */
    --brand-accent-glow: rgba(251, 146, 60, 0.15);
    --text-primary: #f9fafb;        /* Slate 50 */
    --text-secondary: #cbd5e1;      /* Slate 300 */
    --text-muted: #64748b;          /* Slate 500 */
    --border-color: #1e293b;        /* Slate 800 */
    --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 8px 12px -6px rgba(0, 0, 0, 0.4);
    --input-focus: rgba(96, 165, 250, 0.15);
    --result-bg: #1e293b;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(30, 41, 59, 0.7);
    --table-header-bg: #1e293b;
    --table-row-hover: #1e293b;
    --badge-open-bg: rgba(21, 128, 61, 0.2);
    --badge-open-text: #4ade80;
    --badge-wait-bg: rgba(180, 83, 9, 0.2);
    --badge-wait-text: #fbbf24;
}

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

body {
    font-family: 'Figtree', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--brand-secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Sticky Navbar */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text-primary);
}

.logo span.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 550;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-primary);
    background-color: rgba(37, 99, 235, 0.05);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    background-color: rgba(96, 165, 250, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.05), transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--brand-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 450;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cards & Container */
.card {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.card:hover {
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] .card:hover {
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5);
    border-color: var(--brand-primary);
}

/* Calculator Style */
.tabs {
    display: flex;
    gap: 0.5rem;
    background-color: var(--result-bg);
    padding: 0.35rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem;
    border-radius: 9px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background-color: var(--bg-secondary);
    color: var(--brand-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

[data-theme="dark"] .tab-btn.active {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.calculator-tab-content {
    display: none;
}

.calculator-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-box {
    background-color: var(--result-bg);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.result-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary));
}

.result-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.result-countdown {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--brand-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Custom inputs styling */
.form-group {
    margin-bottom: 1.75rem;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.custom-input {
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Figtree', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.02);
}

.custom-input:hover {
    border-color: var(--brand-primary);
}

.custom-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px var(--input-focus);
}

[data-theme="dark"] .custom-input {
    color-scheme: dark;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--brand-accent);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--brand-accent-glow);
}

.btn-accent:hover {
    background-color: #ea580c; /* darker orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.3);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-outline {
    background: none;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background-color: rgba(37, 99, 235, 0.02);
}

/* Live Timers Widget */
.timers-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.timers-header {
    margin-bottom: 1.5rem;
}

.timers-header h3 {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timers-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.timer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem;
    background-color: var(--result-bg);
    border-radius: 14px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.timer-item:last-child {
    margin-bottom: 0;
}

.timer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.timer-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timer-rule {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timer-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Status Dot pulse */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.open {
    background-color: var(--badge-open-bg);
    color: var(--badge-open-text);
}

.status-badge.wait {
    background-color: var(--badge-wait-bg);
    color: var(--badge-wait-text);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Holiday Cheat Sheet Table Section */
.holidays-section {
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.section-header {
    text-align: left;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.search-container {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.15rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Figtree', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px var(--input-focus);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: var(--card-shadow);
}

.holidays-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.holidays-table th {
    background-color: var(--table-header-bg);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-bottom: 1.5px solid var(--border-color);
}

.holidays-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.holidays-table tr:last-child td {
    border-bottom: none;
}

.holidays-table tr {
    transition: background-color 0.2s ease;
}

.holidays-table tr:hover {
    background-color: var(--table-row-hover);
}

.holiday-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

.action-cell {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.action-btn-sm {
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Info Box / Guidance section */
.info-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(79, 70, 229, 0.03));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    margin-bottom: 4rem;
    text-align: left;
}

.info-section h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-primary);
}

.info-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 1rem;
}

.info-section li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.info-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* Contact Page Form */
.contact-container {
    max-width: 650px;
    margin: 2rem auto 5rem;
}

.contact-card {
    padding: 3rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-secondary);
}

/* Success notification message styling */
.success-msg {
    background-color: var(--badge-open-bg);
    color: var(--badge-open-text);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Content pages structure (About, Privacy, FAQ) */
.page-container {
    max-width: 800px;
    margin: 3rem auto 5rem;
    text-align: left;
}

.content-article {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.content-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.content-article h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--brand-primary);
}

.content-article h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.content-article p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.content-article ul, .content-article ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.content-article li {
    margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    border-color: var(--brand-primary);
}

.faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-primary);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out, margin-top 0.2s ease-out;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

/* Blog page specific classes */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .blog-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 20px 30px -5px rgba(0,0,0,0.4);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
}

.blog-card-image .icon {
    font-size: 4.5rem;
    opacity: 0.9;
}

.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Footer Section */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    margin-top: auto;
    transition: all 0.3s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* Disclaimer bottom */
.disclaimer-bar {
    background-color: var(--result-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.disclaimer-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Responsive CSS */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none; /* Can toggle in mobile JS or simplify */
    }

    .nav-links.mobile-show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
        box-shadow: var(--card-shadow);
        gap: 1rem;
        align-items: stretch;
    }

    .info-section ul {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .content-article, .contact-card {
        padding: 1.75rem;
    }
}
/* Mobile responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    display: none;
    width: 200px;
    border-radius: 0 0 12px 12px;
    z-index: 99;
  }
  .nav-links.mobile-show {
    display: flex;
  }
  #menuBtn {
    display: flex !important;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .info-section ul {
    grid-template-columns: 1fr;
  }
}
