* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background: rgba(8, 145, 178, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 2rem;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Main Content */
main {
    padding: 2rem 0;
}

/* Main container bottom padding for mobile pagination fix */
@media (max-width: 768px) {
    main.container {
        padding-bottom: 2rem;
    }
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0f172a;
    font-size: 2rem;
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #64748b;
    font-size: 1.1rem;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
    position: relative;
    white-space: nowrap;
}

th:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

th:after {
    content: '↕';
    position: absolute;
    right: 8px;
    opacity: 0.5;
    font-size: 0.8rem;
}

th.sort-asc:after {
    content: '↑';
    opacity: 1;
}

th.sort-desc:after {
    content: '↓';
    opacity: 1;
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

tbody tr:last-child td {
    border-bottom: none;
}

.price {
    font-weight: 600;
    color: #059669;
}

/* Pharmacy link styles */
.pharmacy-link {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.3s;
}

.pharmacy-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Discount Codes Styles */
.intro-text {
    text-align: center;
    margin-bottom: 3rem;
    color: #475569;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.discount-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.discount-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.pharmacy-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pharmacy-logo {
    width: 20px;
    height: 20px;
    background: #0ea5e9;
    border-radius: 50%;
}

.discount-amount {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.discount-code {
    background: #f1f5f9;
    border: 2px dashed #64748b;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.code-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #0f172a;
    letter-spacing: 1px;
}

.how-to-claim {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.how-to-claim h4 {
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.pharmacy-url {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.75rem;
    margin: 1rem 0;
    text-align: center;
}

.pharmacy-url a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.pharmacy-url a:hover {
    text-decoration: underline;
}

.copy-btn {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #0284c7;
}

.disclaimer {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    color: #92400e;
    font-size: 0.9rem;
}

/* Individual Article/FAQ Page Styles */
.article-hero-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

@media (max-width: 767px) {
    .article-hero-image {
        height: 200px;
    }
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.article-content h1 {
    color: #0f172a;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: left;
}

.article-content h2 {
    color: #0f172a;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1rem;
    color: #475569;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: #475569;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content a:hover {
    color: #0284c7;
    text-decoration: underline;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
}

.article-content th, 
.article-content td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.article-content th {
    background: #f1f5f9;
    font-weight: 600;
    color: #0f172a;
}

.article-content blockquote {
    border-left: 4px solid #0ea5e9;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    font-style: italic;
    color: #475569;
}

.article-content .highlight-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8fafc;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #0284c7;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0 0.3rem;
}

.breadcrumb-current {
    color: #475569;
    font-weight: 500;
}

@media (max-width: 767px) {
    .breadcrumb {
        padding: 0.6rem 0;
    }
    
    .breadcrumb-nav {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.2rem;
    }
}

/* Related Articles */
.related-articles {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-articles h3 {
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-articles a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.related-articles a:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Tools Page Styles */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-content {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0ea5e9;
}

.calculate-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-bottom: 1.5rem;
}

.calculate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.3);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.result-box.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.result-category {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.result-category.underweight {
    color: #3b82f6;
}

.result-category.normal {
    color: #10b981;
}

.result-category.overweight {
    color: #f59e0b;
}

.result-category.obese {
    color: #ef4444;
}

.eligibility-result {
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.eligibility-result.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.eligibility-result.eligible {
    background: #dcfce7;
    border: 2px solid #10b981;
    color: #166534;
}

.eligibility-result.not-eligible {
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.eligibility-result.maybe-eligible {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

.eligibility-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.eligibility-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.disclaimer-text {
    background: #f1f5f9;
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

/* Responsive adjustments for tools */
@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Articles Page Styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Mobile articles grid spacing adjustment */
@media (max-width: 768px) {
    .articles-grid {
        margin-bottom: 2rem;
    }
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.15);
}

.article-hero {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.article-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    flex-grow: 1;
}

.article-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.article-link:hover {
    color: #0284c7;
}

.article-link::after {
    content: '→';
    transition: transform 0.3s;
}

.article-link:hover::after {
    transform: translateX(4px);
}

/* Pagination Styles - Updated for mobile fix */
.pagination-container {
    margin-top: 3rem;
    margin-bottom: 4rem; /* Increased bottom margin for mobile */
    padding: 0 1rem;
    width: 100%;
}

.pagination-info {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    padding: 0 1rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-bottom: 2rem; /* Extra space at bottom */
}

.pagination-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.pagination-btn.active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: #64748b;
    padding: 0.5rem;
}

/* Mobile-specific pagination improvements */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 2rem;
        margin-bottom: 3rem; /* Ensure enough space at bottom */
        padding: 0 0.5rem;
    }

    .pagination-info {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .pagination-controls {
        gap: 0.25rem;
        padding: 1rem 0 2rem 0; /* Extra bottom padding on mobile */
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 2.25rem;
    }

    /* Make Previous/Next buttons more mobile-friendly */
    .pagination-btn:first-child,
    .pagination-btn:last-child {
        padding: 0.4rem 0.8rem;
        font-weight: 500;
    }

    .pagination-ellipsis {
        padding: 0.4rem 0.2rem;
        font-size: 0.8rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .pagination-container {
        margin-bottom: 4rem; /* Even more space on very small screens */
    }

    .pagination-controls {
        padding-bottom: 3rem; /* Extra bottom padding */
    }

    .pagination-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        min-width: 2rem;
    }

    .pagination-info {
        font-size: 0.75rem;
    }

    /* Stack pagination on two lines if needed */
    .pagination-controls {
        max-width: 100%;
        justify-content: center;
    }
}

/* Loading State */
.articles-loading {
    text-align: center;
    padding: 3rem 0;
    color: #64748b;
}

.articles-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading and no articles states mobile improvements */
@media (max-width: 768px) {
    .articles-loading,
    .no-articles {
        margin: 2rem 0;
        padding: 2rem 1rem;
        text-align: center;
        font-size: 0.9rem;
    }
}

/* No Articles State */
.no-articles {
    text-align: center;
    padding: 3rem 0;
    color: #64748b;
    font-style: italic;
}

/* Responsive Design for Articles */
@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Page Styles */
.search-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.search-box {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.search-wrapper {
    position: relative;
}

.faqs-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.faqs-list {
    list-style: none;
}

.faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: #f8fafc;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 6px;
}

.faq-link {
    color: #0f172a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.faq-link:hover {
    color: #0ea5e9;
}

.no-results {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 2rem 0;
}

.results-count {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Contact Form Styles */
.contact-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5e9;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.note {
    background: #f1f5f9;
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.note p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
}

/* About Page Styles */
.about-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: #475569;
}

.about-content a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.3s;
}

.about-content a:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    table {
        font-size: 1rem;
    }

    th, td {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .discount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    th:first-child {
        min-width: 140px;
    }
    
    th:not(:first-child) {
        min-width: 80px;
    }
}

@media (min-width: 1024px) {
    .discount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Index Page Specific Styles */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hero-section h1 {
    color: #0f172a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-button {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    text-decoration: none;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(14, 165, 233, 0.3);
}

.cta-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cta-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.cta-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.resources-section {
    margin-bottom: 3rem;
}

.resources-section h2 {
    text-align: center;
    color: #0f172a;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.resource-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.resource-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.resource-features li {
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.resource-button {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.resource-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.3);
}

.final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.final-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.final-cta-button {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.4);
}

/* Responsive adjustments for index page */
@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-button {
        padding: 1.25rem;
    }
    
    .resources-section h2 {
        font-size: 1.5rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .final-cta {
        padding: 2rem 1rem;
    }
    
    .final-cta h2 {
        font-size: 1.5rem;
    }
    
    .final-cta-buttons {
        grid-template-columns: 1fr;
    }
}