/* Add any custom CSS here that is not handled by Tailwind or inline styles in index.html */

/* Your provided CSS styles below */
body {
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

h1 {
    font-size: 16px; /* This is a very small font size for an H1 on a modern website. Tailwind's default H1s are much larger (e.g., text-4xl). */
    margin-top: 0;
}

p {
    color: rgb(107, 114, 128); /* This is similar to Tailwind's text-gray-600 */
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.card {
    max-width: 620px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid lightgray;
    border-radius: 16px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* Animation classes (make sure these are also in style.css) */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-rotate {
    animation: rotate 3s linear infinite;
}

.animate-pulse-slow {
    animation: pulse 4s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-in-out forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRight 1s ease-in-out forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(30px);
    animation: slideLeft 1s ease-in-out forwards;
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.95);
    animation: zoomIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom CSS for elements that need more styling */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.nav-link {
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00acc1;
    transition: width 0.3s ease;
}
.nav-link:hover:after {
    width: 100%;
}
.active:after {
    width: 100%;
}
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.5);
}
/* Admin Panel styles (Keeping these for now, but the JS behind them is removed) */
#admin-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00acc1;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}
#admin-toggle:hover {
    background-color: #7a97ab;
}
#admin-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none; /* Set to none by default as JS won't open it */
    overflow-y: auto;
    padding: 20px;
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
}
#admin-panel.open {
    transform: translateX(0);
}
#close-admin {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}
#close-admin:hover {
    color: #1f2937;
}
.admin-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}
.admin-section:last-child {
    border-bottom: none;
}
.admin-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    display: block;
}
.admin-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.admin-button {
    background-color: #00acc1;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}
.admin-button:hover {
    background-color: #7a97ab;
}
.admin-list-item {
    background-color: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-list-item button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
}
.admin-list-item button:hover {
    color: #dc2626;
}
/* Animation for stats */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-animate {
    animation: countUp 1s ease-out forwards;
}
/* Pulse animation for CTA */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse:hover {
    animation: pulse 1.5s infinite;
}

/* Shadow for titles */
.hero-title-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.section-title-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
/* --- DARK MODE THEME --- */
body.dark-mode {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

/* Changes the cards to dark gray */
.dark-mode .bg-white {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333;
}

/* Ensures text inside cards stays readable */
.dark-mode h3, .dark-mode p {
    color: #ffffff !important;
}

/* Adjusts the input boxes in your sidebar */
.dark-mode input, .dark-mode textarea {
    background-color: #2d2d2d !important;
    color: white !important;
    border: 1px solid #444 !important;
}
