body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Homepage Styles */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 36px;
    margin: 0 0 20px;
}

.hero-content p {
    font-size: 18px;
    margin: 0 0 30px;
    color: #e5e7eb;
}

.features {
    padding: 60px 20px;
}

.features h2 {
    font-size: 28px;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 40px;
}

.feature-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 280px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin: 0 0 10px;
}

.feature-item p {
    font-size: 16px;
    color: #4b5563;
    margin: 0;
}

.mission {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.mission h2 {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.mission p {
    font-size: 16px;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 30px;
}

footer {
    background: #1e3a8a;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-primary {
    background: #d97706;
    color: #ffffff;
}

.btn-primary:hover {
    background: #b45309;
}

.btn-secondary {
    background: #3b82f6;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #1e40af;
}

/* Existing Styles (for redirect and admin pages) */
.full-frame {
    width: 100%;
    height: calc(100vh - 120px);
    border: none;
}

.page-info {
    padding: 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.page-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 10px;
}

.page-info p {
    font-size: 16px;
    color: #4b5563;
    margin: 0 0 10px;
}

.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.chatbot.visible {
    opacity: 1;
    transform: translateY(0);
}

.chatbot.minimized {
    height: 80px;
    opacity: 0.9;
    transform: translateY(0);
    cursor: pointer;
}

.chatbot-header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-toggle:hover {
    color: #f3f4f6;
}

.chatbot-body {
    padding: 20px;
    background: #f9fafb;
    transition: opacity 0.3s ease;
}

.chatbot.minimized .chatbot-body {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.chatbot-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 8px;
}

.chatbot-text {
    font-size: 14px;
    color: #4b5563;
    margin: 0 0 16px;
    line-height: 1.5;
}

.chatbot-footer {
    padding: 0 20px 20px;
    background: #f9fafb;
    text-align: center;
}

.chatbot-cta {
    display: inline-block;
    background: #d97706;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.chatbot-cta:hover {
    background: #b45309;
}

.hidden {
    display: none;
}

form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

button {
    background: #3b82f6;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #1e40af;
}

.success {
    color: green;
    text-align: center;
}

.error {
    color: red;
    text-align: center;
}

/* Admin Styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: #f1f5f9;
    color: #1e3a8a;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .features {
        padding: 40px 20px;
    }
    .features h2 {
        font-size: 24px;
    }
    .feature-grid {
        flex-direction: column;
    }
    .mission {
        padding: 40px 20px;
    }
    .mission h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .features {
        padding: 30px 15px;
    }
    .features h2 {
        font-size: 20px;
    }
    .feature-item {
        min-width: 100%;
    }
    .mission {
        padding: 30px 15px;
    }
    .mission h2 {
        font-size: 20px;
    }
    .mission p {
        font-size: 14px;
    }
    .chatbot {
        width: 280px;
        bottom: 20px;
        right: 20px;
    }
    .chatbot.minimized {
        height: 70px;
    }
    .page-info {
        padding: 15px;
    }
    .page-info h1 {
        font-size: 20px;
    }
    .page-info p {
        font-size: 14px;
    }
    .login-container {
        margin: 20px 10px;
        padding: 15px;
    }
}