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

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
}

/* For seniors - larger default text */
body, input, button, textarea, select {
    font-size: 18px;
}

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

/* Header & Navigation */
header {
    background: #2c5282;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
    max-height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 18px;
}

nav ul li a:hover {
    opacity: 0.8;
}

.admin-link {
    background: #e53e3e;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5282 0%, #4299e1 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #e53e3e;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5282;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.section:nth-child(even) {
    background: white;
}

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

.section-header h2 {
    font-size: 36px;
    color: #2c5282;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: #718096;
}

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

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 25px;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 48px;
    color: #4299e1;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2d3748;
}

.card p {
    color: #718096;
    margin-bottom: 15px;
}

.card-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 600;
}

.contact-info {
    background: #edf2f7;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
}

.pricing-tag {
    background: #e53e3e;
    color: white;
    padding: 8px;
    border-radius: 20px;
    display: inline-block;
    margin: 15px 0;
    font-weight: 600;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-header {
    background: #2c5282;
    color: white;
    padding: 25px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    font-weight: bold;
}

.pricing-features {
    padding: 25px;
}

.pricing-features p {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: #48bb78;
}

.pricing-footer {
    padding: 20px;
    text-align: center;
}

/* Footer */
footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 40px 0 20px;
}

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

.footer-info h3, .footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 2;
}

.footer-links ul li a:hover {
    color: white;
}

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

.social-links a {
    color: #a0aec0;
    font-size: 24px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a202c;
    color: white;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    flex: 1;
}

.cookie-content a {
    color: #4299e1;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn:first-of-type {
    background: #48bb78;
    color: white;
}

.cookie-btn.decline {
    background: #718096;
    color: white;
}

/* Admin Panel Styles */
.admin-body {
    background: #edf2f7;
}

.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2c5282, #4299e1);
}

.admin-login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.admin-login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c5282;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #2c5282;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 20px;
    border-bottom: 1px solid #4299e1;
}

.admin-nav {
    list-style: none;
    padding: 0;
}

.admin-nav li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.admin-nav li a:hover, .admin-nav li a.active {
    background: #4299e1;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 20px;
}

.admin-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card i {
    font-size: 40px;
    color: #4299e1;
}

.stat-info h3 {
    font-size: 28px;
    color: #2c5282;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

/* Tables */
.admin-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    background: #edf2f7;
    font-weight: 600;
}

.btn-small {
    padding: 5px 10px;
    font-size: 14px;
    margin: 0 3px;
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-small.danger {
    background: #e53e3e;
}

.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.upload-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.preview-img {
    max-width: 100%;
    max-height: 150px;
    margin: 15px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Page Content */
.page-main {
    min-height: 60vh;
    padding: 40px 0;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.page-content h2 {
    color: #2c5282;
    margin: 20px 0 10px;
}

.page-content p {
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.show {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cards-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 20px;
    }
}