/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-blue: #1e40af;
    --accent-blue: #60a5fa;
    --light-blue: #dbeafe;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --background: #f8fafc;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background);
    color: var(--text-dark);
}

/* Header styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    display: flex;
    flex-direction: column;
}

.header-title h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 700;
}

.header-title .subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Landing page */
.landing-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Background image styles */
.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8; /* Adjust this value to control image opacity */
}

/* Add overlay to ensure text readability */
.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.9) 0%,
        rgba(37, 99, 235, 0.7) 100%
    );
    z-index: 1;
}

.hero-section {
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Forms */
.form-container {
    max-width: 400px;
    margin: 100px auto 2rem;
    padding: 0 1rem;
}

.form-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.form-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
}

/* Home page styles */
.home-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background-color: var(--background);
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.welcome-section h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-section .description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    min-height: 3em;
}

.feature-card .btn {
    width: 100%;
    text-align: center;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.stat-card h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
}

.user-welcome {
    color: var(--text-dark);
    margin-right: 1rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-section {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .welcome-section {
        padding: 1.5rem;
    }

    .welcome-section h2 {
        font-size: 1.5rem;
    }
} 